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

Commit 53ad6f6

Browse files
committed
one more escape issue
1 parent 2d89e14 commit 53ad6f6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

node-10.x/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WORKDIR /opt
44
RUN apk --no-cache add curl \
55
&& API_VERSION=$(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
66
&& RUNTIME_VERSION=$(curl -sI https://github.com/triggermesh/knative-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
7-
&& curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/\${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
7+
&& curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
88
&& chmod +x aws-custom-runtime \
99
&& curl -sL https://github.com/triggermesh/knative-lambda-runtime/archive/${RUNTIME_VERSION}.tar.gz | tar -xz knative-lambda-runtime-${RUNTIME_VERSION}/node-10.x \
1010
&& mv knative-lambda-runtime-${RUNTIME_VERSION}/node-10.x/* .

node-4.x/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WORKDIR /opt
44
RUN apk --no-cache add curl \
55
&& API_VERSION=$(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
66
&& RUNTIME_VERSION=$(curl -sI https://github.com/triggermesh/knative-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
7-
&& curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/\${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
7+
&& curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
88
&& chmod +x aws-custom-runtime \
99
&& curl -sL https://github.com/triggermesh/knative-lambda-runtime/archive/${RUNTIME_VERSION}.tar.gz | tar -xz knative-lambda-runtime-${RUNTIME_VERSION}/node-4.x \
1010
&& mv knative-lambda-runtime-${RUNTIME_VERSION}/node-4.x/* .

python-2.7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WORKDIR /opt
44
RUN apk --no-cache add curl \
55
&& API_VERSION=$(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
66
&& RUNTIME_VERSION=$(curl -sI https://github.com/triggermesh/knative-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
7-
&& curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/\${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
7+
&& curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
88
&& chmod +x aws-custom-runtime \
99
&& curl -sL https://github.com/triggermesh/knative-lambda-runtime/archive/${RUNTIME_VERSION}.tar.gz | tar -xz knative-lambda-runtime-${RUNTIME_VERSION}/python-2.7 \
1010
&& mv knative-lambda-runtime-${RUNTIME_VERSION}/python-2.7/* .

python-3.7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WORKDIR /opt
44
RUN apk --no-cache add curl \
55
&& API_VERSION=$(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
66
&& RUNTIME_VERSION=$(curl -sI https://github.com/triggermesh/knative-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
7-
&& curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/\${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
7+
&& curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
88
&& chmod +x aws-custom-runtime \
99
&& curl -sL https://github.com/triggermesh/knative-lambda-runtime/archive/${RUNTIME_VERSION}.tar.gz | tar -xz knative-lambda-runtime-${RUNTIME_VERSION}/python-3.7 \
1010
&& mv knative-lambda-runtime-${RUNTIME_VERSION}/python-3.7/* .

0 commit comments

Comments
 (0)