Browse Source

add curlrc file to base image

The curlrc file for root allows better output control for
curl downloads during build process.

Closes-Bug: #1567926

Change-Id: I19b526e4eab223d2456f4bbc2f4ba50192ec0901
changes/11/301911/6
Benedikt Trefzer 6 years ago
parent
commit
80d2edbd8e
  1. 1
      docker/base/Dockerfile.j2
  2. 4
      docker/base/curlrc

1
docker/base/Dockerfile.j2

@ -221,6 +221,7 @@ RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 199369E540
COPY set_configs.py /usr/local/bin/kolla_set_configs
COPY start.sh /usr/local/bin/kolla_start
COPY sudoers /etc/sudoers
COPY curlrc /root/.curlrc
RUN touch /usr/local/bin/kolla_extend_start \
&& chmod 755 /usr/local/bin/kolla_start /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_set_configs \
&& chmod 440 /etc/sudoers \

4
docker/base/curlrc

@ -0,0 +1,4 @@
# curl default options
--silent
--show-error
--write-out "curl (%{url_effective}): response: %{http_code}, time: %{time_total}, size: %{size_download}\n"
Loading…
Cancel
Save