This repository was archived by the owner on Dec 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ spec:
4242 WORKDIR /opt
4343
4444 RUN apk --no-cache add curl \
45- && API_VERSION=$(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
46- && RUNTIME_VERSION=$(curl -sI https://github.com/triggermesh/aws-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
47- && curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
45+ && API_VERSION=\ $(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print \ $NF}' | tr -d "\r") \
46+ && RUNTIME_VERSION=\ $(curl -sI https://github.com/triggermesh/aws-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print \ $NF}' | tr -d "\r") \
47+ && curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/\ ${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
4848 && chmod +x aws-custom-runtime \
49- && curl -sL https://github.com/triggermesh/aws-lambda-runtime/archive/${RUNTIME_VERSION}.tar.gz | tar -xz aws-lambda-runtime-${RUNTIME_VERSION}/node-10.x \
50- && mv aws-lambda-runtime-${RUNTIME_VERSION}/node-10.x/* .
49+ && curl -sL https://github.com/triggermesh/aws-lambda-runtime/archive/\ ${RUNTIME_VERSION}.tar.gz | tar -xz aws-lambda-runtime-\ ${RUNTIME_VERSION}/node-10.x \
50+ && mv aws-lambda-runtime-\ ${RUNTIME_VERSION}/node-10.x/* .
5151
5252 ENV LAMBDA_TASK_ROOT "/opt"
5353 ENV _HANDLER "${HANDLER}"
Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ spec:
4242 WORKDIR /opt
4343
4444 RUN apk --no-cache add curl \
45- && API_VERSION=$(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
46- && RUNTIME_VERSION=$(curl -sI https://github.com/triggermesh/aws-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
47- && curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
45+ && API_VERSION=\ $(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print \ $NF}' | tr -d "\r") \
46+ && RUNTIME_VERSION=\ $(curl -sI https://github.com/triggermesh/aws-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print \ $NF}' | tr -d "\r") \
47+ && curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/\ ${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
4848 && chmod +x aws-custom-runtime \
49- && curl -sL https://github.com/triggermesh/aws-lambda-runtime/archive/${RUNTIME_VERSION}.tar.gz | tar -xz aws-lambda-runtime-${RUNTIME_VERSION}/python-2.7 \
50- && mv aws-lambda-runtime-${RUNTIME_VERSION}/python-2.7/* .
49+ && curl -sL https://github.com/triggermesh/aws-lambda-runtime/archive/\ ${RUNTIME_VERSION}.tar.gz | tar -xz aws-lambda-runtime-\ ${RUNTIME_VERSION}/python-2.7 \
50+ && mv aws-lambda-runtime-\ ${RUNTIME_VERSION}/python-2.7/* .
5151
5252 ENV LAMBDA_TASK_ROOT "/opt"
5353 ENV _HANDLER "${HANDLER}"
Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ spec:
4242 WORKDIR /opt
4343
4444 RUN apk --no-cache add curl \
45- && API_VERSION=$(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
46- && RUNTIME_VERSION=$(curl -sI https://github.com/triggermesh/aws-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r") \
47- && curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
45+ && API_VERSION=\ $(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print \ $NF}' | tr -d "\r") \
46+ && RUNTIME_VERSION=\ $(curl -sI https://github.com/triggermesh/aws-lambda-runtime/releases/latest | grep "Location:" | awk -F "/" '{print \ $NF}' | tr -d "\r") \
47+ && curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/\ ${API_VERSION}/aws-custom-runtime > aws-custom-runtime \
4848 && chmod +x aws-custom-runtime \
49- && curl -sL https://github.com/triggermesh/aws-lambda-runtime/archive/${RUNTIME_VERSION}.tar.gz | tar -xz aws-lambda-runtime-${RUNTIME_VERSION}/python-3.7 \
50- && mv aws-lambda-runtime-${RUNTIME_VERSION}/python-3.7/* .
49+ && curl -sL https://github.com/triggermesh/aws-lambda-runtime/archive/\ ${RUNTIME_VERSION}.tar.gz | tar -xz aws-lambda-runtime-\ ${RUNTIME_VERSION}/python-3.7 \
50+ && mv aws-lambda-runtime-\ ${RUNTIME_VERSION}/python-3.7/* .
5151
5252 ENV LAMBDA_TASK_ROOT "/opt"
5353 ENV _HANDLER "${HANDLER}"
You can’t perform that action at this time.
0 commit comments