Skip to content

Commit 7771dd6

Browse files
committed
s1: install public CAs
1 parent 584fc30 commit 7771dd6

File tree

1 file changed

+3
-2
lines changed
  • scenarios/1-missing-network-configuration

1 file changed

+3
-2
lines changed

scenarios/1-missing-network-configuration/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang as builder
1+
FROM golang AS builder
22

33
WORKDIR /app
44
COPY go.mod ./
@@ -9,4 +9,5 @@ RUN CGO_ENABLED=0 go build -o app
99
FROM scratch
1010

1111
COPY --from=builder /app/app /app
12-
ENTRYPOINT ["/app"]
12+
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
13+
ENTRYPOINT ["/app"]

0 commit comments

Comments
 (0)