mirror of
https://github.com/fhmq/hmq.git
synced 2026-08-28 13:33:10 +00:00
Fix for Dockerfile smell DL3006 (#183)
Signed-off-by: Giovanni Rosa <g.rosa1@studenti.unimol.it>
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ COPY . .
|
|||||||
RUN CGO_ENABLED=0 go build -o hmq -a -ldflags '-extldflags "-static"' .
|
RUN CGO_ENABLED=0 go build -o hmq -a -ldflags '-extldflags "-static"' .
|
||||||
|
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine:3.17.3
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /go/src/github.com/fhmq/hmq/hmq .
|
COPY --from=builder /go/src/github.com/fhmq/hmq/hmq .
|
||||||
EXPOSE 1883
|
EXPOSE 1883
|
||||||
|
|||||||
Reference in New Issue
Block a user