From cf779e45f5fb0f097d053cbb9865618575dc99e4 Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Tue, 12 Dec 2023 08:59:50 -0700 Subject: [PATCH] base alpine for shell over scratch --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 88cb582..f80efda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,8 @@ COPY . /go/src/app WORKDIR /go/src/app RUN GOOS=linux CGO_ENABLED=0 go build -o /bin/app -a -installsuffix cgo -trimpath -ldflags "-s -w" -tags musl -FROM scratch +FROM alpine +RUN apk update && apk --no-cache upgrade COPY --from=builder /bin/app /bin/ CMD [] ENTRYPOINT ["/bin/app"]