fix: properly install curl
parent
87a66bd269
commit
56727bbe11
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue