diff --git a/Dockerfile b/Dockerfile index 79cc6ab..6f19da7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,4 @@ FROM golang:1.21-bookworm as builder -ARG GIT_COMMIT -ARG GIT_BRANCH -ARG BUILD_DATE - WORKDIR /app COPY go.* ./ @@ -13,6 +9,10 @@ COPY . ./ RUN make compile ENVIROMENT=production FROM debian:bookworm-slim +ARG GIT_COMMIT +ARG GIT_BRANCH +ARG BUILD_DATE + RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ ca-certificates && \ rm -rf /var/lib/apt/lists/*