We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e02b841 commit 2422c73Copy full SHA for 2422c73
docker/kayobe/Dockerfile
@@ -80,8 +80,10 @@ USER stack
80
RUN echo export https_proxy=$https_proxy >> $HOME/.bashrc && \
81
echo export http_proxy=$http_proxy >> $HOME/.bashrc
82
83
-RUN sudo echo "[global]" >> /etc/pip.conf && \
84
- sudo echo "proxy = $https_proxy" >> /etc/pip.conf
+RUN mkdir /stack/.pip && chmod 700 /stack/.pip
+
85
+RUN echo "[global]" >> /stack/.pip/pip.conf && \
86
+ echo "proxy = $https_proxy" >> /stack/.pip/pip.conf
87
88
RUN mkdir /stack/.ssh && chmod 700 /stack/.ssh
89
COPY --chown=stack:stack $KAYOBE_DOCKER_SSH_CONFIG_PATH /stack/.ssh/config
0 commit comments