corso/build/Dockerfile
Keepers 127b6d061a
introduce docker container production (#660)
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.
2022-09-01 15:06:57 +00:00

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"]