File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1111# control host bootstrap.
1212ARG KAYOBE_ENVIRONMENT=""
1313ARG KAYOBE_DOCKER_SSH_CONFIG_PATH=".automation/docker/kayobe/ssh_config"
14+ ARG KAYOBE_DOCKER_PIP_CONFIG_PATH=".automation/docker/kayobe/pip.conf"
1415
1516ENV container docker
1617# NOTE: systemd requires privileged container
@@ -92,13 +93,7 @@ RUN echo "[global]" >> /stack/.pip/pip.conf && \
9293# echo " files.pythonhosted.org" >> /etc/pip.conf
9394# echo " releases.openstack.org" >> /etc/pip.conf
9495
95- RUN tee /etc/pip.conf > /dev/null <<EOF
96- [global]
97- trusted-host = pypi.python.org
98- pypi.org
99- files.pythonhosted.org
100- releases.openstack.org
101- EOF
96+ COPY $KAYOBE_DOCKER_PIP_CONFIG_PATH /etc/pip.conf
10297
10398RUN mkdir /stack/.ssh && chmod 700 /stack/.ssh
10499COPY --chown=stack:stack $KAYOBE_DOCKER_SSH_CONFIG_PATH /stack/.ssh/config
Original file line number Diff line number Diff line change 1+ [global]
2+ trusted-host = pypi.python.org
3+ pypi.org
4+ files.pythonhosted.org
5+ releases.openstack.org
You can’t perform that action at this time.
0 commit comments