From 4ab8440141a476e9142c1f13d9f1b601a56ee842 Mon Sep 17 00:00:00 2001 From: reimei <34594195+Reimei1213@users.noreply.github.com> Date: Thu, 20 Jul 2023 18:18:57 +0900 Subject: [PATCH] fix: change image for Dockerfile (distroless -> alpine) (#39) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b312b05..3728804 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY *.go ./ RUN apk --no-cache add --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community github-cli=2.32.0-r1 RUN CGO_ENABLED=0 GOOS=linux go build -a -o /bin/app -FROM gcr.io/distroless/static +FROM alpine:3.18.2 COPY --from=builder /bin/app /bin/app COPY --from=builder /usr/bin/gh /bin/gh ENTRYPOINT ["/bin/app"]