Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Commit 0bbd6ec

Browse files
committed
CA certificates added
1 parent 6dee39b commit 0bbd6ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

go-1.x/buildtemplate.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
cd /workspace/${DIRECTORY}
3838
cat <<EOF > Dockerfile
3939
FROM golang:alpine
40-
RUN apk --no-cache add git \
40+
RUN apk --no-cache add git ca-certificates \
4141
&& go get github.com/tzununbekov/aws-custom-runtime \
4242
&& go get github.com/tzununbekov/knative-lambda-runtime/go-1.x \
4343
&& go get github.com/golang/dep/...
@@ -53,6 +53,7 @@ spec:
5353
ENV LAMBDA_TASK_ROOT "/opt"
5454
ENV _HANDLER "handler"
5555
56+
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
5657
COPY --from=0 /go/bin/go-1.x /opt/bootstrap
5758
COPY --from=0 /go/bin/ /opt
5859

0 commit comments

Comments
 (0)