Skip to content

Commit 7ef0522

Browse files
committed
Add ca certs
1 parent 922e2b9 commit 7ef0522

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build in Docker container
2-
FROM golang:1.13 as builder
2+
FROM golang:1.16.2 as builder
33

44
ENV CGO_ENABLED 0
55
WORKDIR /src/s3sync
@@ -8,6 +8,7 @@ RUN go mod vendor && \
88
go build -o s3sync ./cli
99

1010
# Create s3sync image
11-
FROM scratch
11+
FROM debian:buster-slim
12+
RUN apt update && apt install -y ca-certificates
1213
COPY --from=builder /src/s3sync/s3sync /s3sync
1314
ENTRYPOINT ["/s3sync"]

0 commit comments

Comments
 (0)