Skip to content

Commit e02b841

Browse files
committed
add sudo
1 parent c25b21b commit e02b841

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/kayobe/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ 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]" >> /etc/pip.conf && \
84-
echo "proxy = $https_proxy" >> /etc/pip.conf
83+
RUN sudo echo "[global]" >> /etc/pip.conf && \
84+
sudo echo "proxy = $https_proxy" >> /etc/pip.conf
8585

8686
RUN mkdir /stack/.ssh && chmod 700 /stack/.ssh
8787
COPY --chown=stack:stack $KAYOBE_DOCKER_SSH_CONFIG_PATH /stack/.ssh/config

0 commit comments

Comments
 (0)