Skip to content

Commit b600071

Browse files
committed
rm pip proxy, add CA var
1 parent 70a6730 commit b600071

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/kayobe/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ ENV container docker
2727

2828
# CMD ["/usr/sbin/init"]
2929

30-
RUN echo "sslverify=0" >> /etc/dnf/dnf.conf
31-
RUN mkdir -p /home/stack/.pip
32-
RUN echo -e "[global]\nproxy = http://192.168.121.250:3127/\nHTTP_PROXY=http://192.168.121.250:3127/" >> /home/stack/.pip/pip.conf
30+
RUN echo "$PROXY_CA" >> /etc/pki/ca-trust/source/anchors/ZscalerRootCertificate-2048-SHA256.pem && \
31+
update-ca-trust
32+
3333
ARG BASE_IMAGE="quay.io/rockylinux/rockylinux:8"
3434
ARG USE_PYTHON_312="false"
3535
RUN dnf install epel-release -y && \

0 commit comments

Comments
 (0)