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
This commit is contained in:
parent
23d566a5e3
commit
80d2edbd8e
@ -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
Normal file
4
docker/base/curlrc
Normal file
@ -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…
Reference in New Issue
Block a user