build: add curl to Dockerfile for enhanced functionality
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
|
|||||||
|
|
||||||
# Final image
|
# Final image
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
RUN apk add --no-cache ca-certificates netcat-openbsd
|
RUN apk add --no-cache ca-certificates netcat-openbsd curl
|
||||||
COPY --from=builder /app/server /usr/local/bin/server
|
COPY --from=builder /app/server /usr/local/bin/server
|
||||||
COPY scripts/wait-for-mqtt.sh /usr/local/bin/wait-for-mqtt.sh
|
COPY scripts/wait-for-mqtt.sh /usr/local/bin/wait-for-mqtt.sh
|
||||||
RUN chmod +x /usr/local/bin/wait-for-mqtt.sh
|
RUN chmod +x /usr/local/bin/wait-for-mqtt.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user