Skip to content

Commit 3fd621f

Browse files
author
Travis Ralston
committed
Install certificates
1 parent b1db9ff commit 3fd621f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM golang:1.20-bookworm AS builder
44

55
# Install build dependencies
66
RUN apt-get update
7-
RUN apt-get install -y git dos2unix build-essential
7+
RUN apt-get install -y git dos2unix build-essential ca-certificates
88

99
WORKDIR /opt
1010
COPY . /opt
@@ -17,6 +17,9 @@ RUN ./build.sh
1717
# Final runtime stage.
1818
FROM debian:bookworm
1919

20+
RUN apt-get update
21+
RUN apt-get install -y ca-certificates
22+
2023
COPY --from=builder \
2124
/opt/bin/controller \
2225
/usr/local/bin/

0 commit comments

Comments
 (0)