Introduces the production of docker containers as a CI step. Currently only provides a rolling-release version that builds on every push to main. Images are deployed to ghcr.io. The PR includes two variations on building the images. We'll likely only want to stick with one or the other.
16 lines
325 B
Docker
16 lines
325 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
# This dockerfile is configured to be run by the /corso/build/build-container.sh
|
|
# script. Using docker to build this file directly will fail.
|
|
|
|
FROM gcr.io/distroless/base-debian10
|
|
# FROM gcr.io/distroless/base:debug
|
|
|
|
WORKDIR /
|
|
|
|
COPY ./bin/corso ./
|
|
|
|
USER nonroot:nonroot
|
|
|
|
ENTRYPOINT ["/corso"]
|