File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,13 @@ RUN yum update -y && \
38
38
rm -rf /var/cache/yum/* && \
39
39
chmod g+w /etc/passwd
40
40
41
+ ARG YQ_URI=https://github.com/mikefarah/yq/releases/download/3.3.0/yq_linux_amd64
42
+ ARG YQ_HASH=e70e482e7ddb9cf83b52f5e83b694a19e3aaf36acf6b82512cbe66e41d569201
43
+ RUN echo "${YQ_HASH} -" > /tmp/sum.txt && \
44
+ curl -L --fail "${YQ_URI}" | tee /bin/yq-go | sha256sum -c /tmp/sum.txt >/dev/null && \
45
+ chmod +x /bin/yq-go && \
46
+ rm /tmp/sum.txt
47
+
41
48
RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
42
49
RUN python get-pip.py 'pip<21.0'
43
50
RUN python -m pip install pyopenssl
Original file line number Diff line number Diff line change @@ -38,6 +38,13 @@ RUN yum update -y && \
38
38
rm -rf /var/cache/yum/* && \
39
39
chmod g+w /etc/passwd
40
40
41
+ ARG YQ_URI=https://github.com/mikefarah/yq/releases/download/3.3.0/yq_linux_amd64
42
+ ARG YQ_HASH=e70e482e7ddb9cf83b52f5e83b694a19e3aaf36acf6b82512cbe66e41d569201
43
+ RUN echo "${YQ_HASH} -" > /tmp/sum.txt && \
44
+ curl -L --fail "${YQ_URI}" | tee /bin/yq-go | sha256sum -c /tmp/sum.txt >/dev/null && \
45
+ chmod +x /bin/yq-go && \
46
+ rm /tmp/sum.txt
47
+
41
48
# Not packaged for Python 2, but required by gcloud. See https://cloud.google.com/sdk/crypto
42
49
RUN pip-2 install pyopenssl
43
50
ENV CLOUDSDK_PYTHON=/usr/bin/python
You can’t perform that action at this time.
0 commit comments