fix: properly install curl
This commit is contained in:
parent
87a66bd269
commit
56727bbe11
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue