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

Commit

Permalink
Go runtime conflicting binaries fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tzununbekov committed Nov 26, 2020
1 parent bda5601 commit 4f9ffa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ spec:
&& go get github.com/triggermesh/aws-custom-runtime \
&& go get github.com/triggermesh/knative-lambda-runtime/go \
&& go get github.com/golang/dep/...
RUN mv /go/bin/go /go/bin/bootstrap
WORKDIR /go/src/handler
COPY . .
RUN if [ -f "$HOME/.ssh/id_$(inputs.params.SSH_KEY)" ]; then \
Expand All @@ -63,7 +64,6 @@ spec:
ENV LAMBDA_TASK_ROOT "/opt"
ENV _HANDLER "handler"
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=0 /go/bin/go /opt/bootstrap
COPY --from=0 /go/bin/ /opt
ENTRYPOINT ["/opt/aws-custom-runtime"]
EOF
Expand Down

0 comments on commit 4f9ffa9

Please sign in to comment.