Skip to content

Commit b50f2da

Browse files
authored
fix: docker install ca-certificates (#162)
1 parent f17ded2 commit b50f2da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builds/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ COPY . .
1616
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags='-w -s -extldflags "-static"' -o timelock-worker .
1717

1818
# Final image: minimal scratch with only the binary
19-
FROM scratch
19+
FROM alpine:latest
20+
# Install CA certs
21+
RUN apk add --no-cache ca-certificates
2022
COPY --from=builder /build/timelock-worker /timelock-worker
2123
ENTRYPOINT ["/timelock-worker"]
2224
CMD ["start"]

0 commit comments

Comments
 (0)