repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
4d22a7f
parent
29f8c9f
author
Antonio Mika
date
2022-08-26 16:30:39 +0000 UTC
Added ca certificates
1 files changed,  +3, -1
M Dockerfile
+3, -1
 1@@ -5,7 +5,7 @@ ENV CGO_ENABLED 0
 2 
 3 WORKDIR /app
 4 
 5-RUN apk add --no-cache git
 6+RUN apk add --no-cache git ca-certificates
 7 
 8 COPY go.* ./
 9 
10@@ -30,6 +30,7 @@ WORKDIR /app
11 
12 ARG APP=lists
13 
14+COPY --from=build-image /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
15 COPY --from=builder /go/bin/${APP}-ssh ./ssh
16 
17 ENTRYPOINT ["/app/ssh"]
18@@ -40,6 +41,7 @@ WORKDIR /app
19 
20 ARG APP=lists
21 
22+COPY --from=build-image /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
23 COPY --from=builder /go/bin/${APP}-web ./web
24 COPY --from=builder /app/${APP}/html ./${APP}/html
25 COPY --from=builder /app/${APP}/public ./${APP}/public