build: add curl to Dockerfile for enhanced functionality

This commit is contained in:
2026-01-04 13:32:28 +01:00
parent beccbccb76
commit 85c336419f

View File

@@ -11,7 +11,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
# Final image
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 scripts/wait-for-mqtt.sh /usr/local/bin/wait-for-mqtt.sh
RUN chmod +x /usr/local/bin/wait-for-mqtt.sh