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

Commit 6a1c37c

Browse files
authored
Merge pull request #58 from triggermesh/go-runtime-fix
Go runtime conflicting binaries fixed
2 parents bda5601 + 4f9ffa9 commit 6a1c37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/runtime.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ spec:
4848
&& go get github.com/triggermesh/aws-custom-runtime \
4949
&& go get github.com/triggermesh/knative-lambda-runtime/go \
5050
&& go get github.com/golang/dep/...
51+
RUN mv /go/bin/go /go/bin/bootstrap
5152
WORKDIR /go/src/handler
5253
COPY . .
5354
RUN if [ -f "$HOME/.ssh/id_$(inputs.params.SSH_KEY)" ]; then \
@@ -63,7 +64,6 @@ spec:
6364
ENV LAMBDA_TASK_ROOT "/opt"
6465
ENV _HANDLER "handler"
6566
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
66-
COPY --from=0 /go/bin/go /opt/bootstrap
6767
COPY --from=0 /go/bin/ /opt
6868
ENTRYPOINT ["/opt/aws-custom-runtime"]
6969
EOF

0 commit comments

Comments
 (0)