Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions images/installer/Dockerfile.upi.ci
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ RUN yum update -y && \
rm -rf /var/cache/yum/* && \
chmod g+w /etc/passwd

ARG YQ_URI=https://github.com/mikefarah/yq/releases/download/3.3.0/yq_linux_amd64
ARG YQ_HASH=e70e482e7ddb9cf83b52f5e83b694a19e3aaf36acf6b82512cbe66e41d569201
RUN echo "${YQ_HASH} -" > /tmp/sum.txt && \
curl -L --fail "${YQ_URI}" | tee /bin/yq-go | sha256sum -c /tmp/sum.txt >/dev/null && \
chmod +x /bin/yq-go && \
rm /tmp/sum.txt

RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
RUN python get-pip.py 'pip<21.0'
RUN python -m pip install pyopenssl
Expand Down
7 changes: 7 additions & 0 deletions images/installer/Dockerfile.upi.ci.rhel8
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ RUN yum update -y && \
rm -rf /var/cache/yum/* && \
chmod g+w /etc/passwd

ARG YQ_URI=https://github.com/mikefarah/yq/releases/download/3.3.0/yq_linux_amd64
ARG YQ_HASH=e70e482e7ddb9cf83b52f5e83b694a19e3aaf36acf6b82512cbe66e41d569201
RUN echo "${YQ_HASH} -" > /tmp/sum.txt && \
curl -L --fail "${YQ_URI}" | tee /bin/yq-go | sha256sum -c /tmp/sum.txt >/dev/null && \
chmod +x /bin/yq-go && \
rm /tmp/sum.txt

# Not packaged for Python 2, but required by gcloud. See https://cloud.google.com/sdk/crypto
RUN pip-2 install pyopenssl
ENV CLOUDSDK_PYTHON=/usr/bin/python
Expand Down