From c083b83f3d4b8858a971beb1dc82744798554f8a Mon Sep 17 00:00:00 2001 From: Giovanni Rosa Date: Thu, 13 Apr 2023 05:31:30 +0200 Subject: [PATCH] Fix for Dockerfile smell DL3006 (#183) Signed-off-by: Giovanni Rosa --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 758c0bad..6f791847 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ COPY . . RUN CGO_ENABLED=0 go build -o hmq -a -ldflags '-extldflags "-static"' . -FROM alpine +FROM alpine:3.17.3 WORKDIR / COPY --from=builder /go/src/github.com/fhmq/hmq/hmq . EXPOSE 1883