From 7960ca87fd8e583bda4b3a04f6edd78ffb2cdc76 Mon Sep 17 00:00:00 2001 From: Valentin Kuznetsov Date: Mon, 12 Feb 2024 09:41:02 -0500 Subject: [PATCH] Switch to alpine for development --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f95652d..90cff2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,9 @@ ARG CGO_ENABLED=0 RUN cd $PROJECT && make && cp srv /build # build final image for given image -# FROM alpine as final -# RUN mkdir -p /data -FROM gcr.io/distroless/static as final +FROM alpine as final +# FROM gcr.io/distroless/static as final +RUN mkdir -p /data COPY --from=go-builder /build/srv /data LABEL org.opencontainers.image.description="FOXDEN DataBookkeeping service" LABEL org.opencontainers.image.source=https://github.com/chesscomputing/databookkeeping