This repository was archived by the owner on Dec 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +9
-4
lines changed Expand file tree Collapse file tree 5 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1+ ### AWS Lambda Python 3.7 buildtemplate
2+
3+ Knative buildtemplate based on [ LambCI] ( https://github.com/lambci/docker-lambda ) Python 3.7 runtime
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -38,20 +38,22 @@ spec:
3838 - |
3939 cd /workspace/${DIRECTORY}
4040 cat <<EOF > Dockerfile
41- FROM golang
41+ FROM golang
4242 RUN CGO_ENABLED=0 go get github.com/triggermesh/aws-custom-runtime
43+ RUN git clone github.com/triggermesh/aws-python-runtime
4344
4445 FROM python:alpine3.7
4546
46- WORKDIR /workspace
47+ WORKDIR /opt
4748
48- ENV LAMBDA_TASK_ROOT "/workspace "
49+ ENV LAMBDA_TASK_ROOT "/opt "
4950 ENV _HANDLER "${HANDLER}"
5051
5152 COPY --from=0 /go/bin/aws-custom-runtime .
53+ COPY --from=0 /go/aws-python-runtime/python-3.7/ .
5254 COPY . .
5355
54- ENTRYPOINT ["/workspace /aws-custom-runtime"]
56+ ENTRYPOINT ["/opt /aws-custom-runtime"]
5557 EOF
5658 - name : export
5759 image : gcr.io/kaniko-project/executor@sha256:30ba460a034a8051b3222a32e20cb6049741e58384e3adf8c8987c004e2f2ab9
File renamed without changes.
You can’t perform that action at this time.
0 commit comments