File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ RUN apt-get update --allow-releaseinfo-change-suite -q && \
4444 wget \
4545 && apt-get clean
4646
47+ # Install yq
48+ ENV YQ_VERSION=v4.42.1
49+ RUN wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -O /usr/bin/yq && \
50+ chmod +x /usr/bin/yq
51+
4752# Install gcloud SDK
4853ENV PATH=$PATH:/google-cloud-sdk/bin
4954ARG GCLOUD_VERSION=410.0.0
@@ -54,11 +59,6 @@ RUN wget -qO- \
5459# Install aws CLI
5560RUN wget -q https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip && unzip awscli-exe-linux-x86_64.zip && ./aws/install
5661
57- # Install yq
58- ENV YQ_VERSION=v4.42.1
59- RUN wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -O /usr/bin/yq && \
60- chmod +x /usr/bin/yq
61-
6262COPY ./entrypoint.sh /opt/entrypoint.sh
6363
6464# Configure non-root user
Original file line number Diff line number Diff line change @@ -8,18 +8,18 @@ ARG CONDA_ENV_NAME
88ENV APP_NAME=$APP_NAME
99ENV CONDA_ENV_NAME=$CONDA_ENV_NAME
1010
11+ # Install yq
12+ ENV YQ_VERSION=v4.42.1
13+ RUN wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -O /usr/bin/yq && \
14+ chmod +x /usr/bin/yq
15+
1116# Install gcloud SDK
1217RUN wget -qO- https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-367.0.0-linux-x86_64.tar.gz | tar xzf -
1318ENV PATH=$PATH:/google-cloud-sdk/bin
1419
1520# Install aws CLI
1621RUN wget -q https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip && unzip awscli-exe-linux-x86_64.zip && ./aws/install
1722
18- # Install yq
19- ENV YQ_VERSION=v4.42.1
20- RUN wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -O /usr/bin/yq && \
21- chmod +x /usr/bin/yq
22-
2323COPY . .
2424COPY ./temp-deps/sdk ./../../sdk
2525COPY process_conda_env.sh /bin/process_conda_env.sh
You can’t perform that action at this time.
0 commit comments