Skip to content

Commit 0e1101c

Browse files
committed
different pip proxy application
1 parent 2da165f commit 0e1101c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docker/kayobe/Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ ENV container docker
2828
# CMD ["/usr/sbin/init"]
2929

3030
RUN echo "sslverify=0" >> /etc/dnf/dnf.conf
31-
RUN cat >> /home/stack/.pip/pip.conf<< EOT
32-
[global]
33-
proxy = http://192.168.121.250:3127/
34-
HTTP_PROXY=http://192.168.121.250:3127/
35-
EOT
31+
RUN mkdir -p /home/stack/.pip
32+
RUN echo "[global]\nproxy = http://192.168.121.250:3127/\nHTTP_PROXY=http://192.168.121.250:3127/" >> /home/stack/.pip/pip.conf
3633
ARG BASE_IMAGE="quay.io/rockylinux/rockylinux:8"
3734
ARG USE_PYTHON_312="false"
3835
RUN dnf install epel-release -y && \

0 commit comments

Comments
 (0)