Skip to content

Commit 87ef9f0

Browse files
committed
add pip.conf
1 parent e3e19a1 commit 87ef9f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/kayobe/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ USER stack
8080
RUN echo export https_proxy=$https_proxy >> $HOME/.bashrc && \
8181
echo export http_proxy=$http_proxy >> $HOME/.bashrc
8282

83+
RUN echo "[global]" >> $HOME/.pip/pip.conf && \
84+
echo "proxy = $https_proxy" >> $HOME/.pip/pip.conf
85+
8386
RUN mkdir /stack/.ssh && chmod 700 /stack/.ssh
8487
COPY --chown=stack:stack $KAYOBE_DOCKER_SSH_CONFIG_PATH /stack/.ssh/config
8588
RUN chmod 600 /stack/.ssh/config

0 commit comments

Comments
 (0)