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

Commit 6a6be47

Browse files
authored
Update Dockerfile
1 parent 4e9967f commit 6a6be47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python-3.7/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM python:3.7-slim-stretch
22
WORKDIR /opt
33

4-
RUN apk --no-cache add curl \
4+
RUN apt-get update \
5+
&& apt-get install -y curl \
56
&& API_VERSION=$(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
67
&& RUNTIME_VERSION=$(curl -sI https://github.com/triggermesh/knative-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
78
&& curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/${API_VERSION}/aws-custom-runtime > aws-custom-runtime \

0 commit comments

Comments
 (0)