fix: properly install curl

main
Max Ignatenko 2024-09-07 19:36:48 +01:00
parent 87a66bd269
commit 56727bbe11
1 changed files with 2 additions and 1 deletions

View File

@ -6,9 +6,10 @@ COPY . ./
RUN go build -trimpath ./cmd/plc-mirror
FROM alpine:latest as certs
RUN apk --update add ca-certificates curl
RUN apk --update add ca-certificates
FROM debian:stable-slim
RUN apt update && apt install -y curl
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /app/plc-mirror .
ENTRYPOINT ["./plc-mirror"]