File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11
11
# control host bootstrap.
12
12
ARG KAYOBE_ENVIRONMENT=""
13
13
ARG KAYOBE_DOCKER_SSH_CONFIG_PATH=".automation/docker/kayobe/ssh_config"
14
+ ARG KAYOBE_DOCKER_PIP_CONFIG_PATH=".automation/docker/kayobe/pip.conf"
14
15
15
16
ENV container docker
16
17
# NOTE: systemd requires privileged container
@@ -92,13 +93,7 @@ RUN echo "[global]" >> /stack/.pip/pip.conf && \
92
93
# echo " files.pythonhosted.org" >> /etc/pip.conf
93
94
# echo " releases.openstack.org" >> /etc/pip.conf
94
95
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
102
97
103
98
RUN mkdir /stack/.ssh && chmod 700 /stack/.ssh
104
99
COPY --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