Browse Source

No need to hack resolv.conf in dockerfiles

Aleksandr Didenko 8 years ago
parent
commit
f7f560de2e
1 changed files with 1 additions and 1 deletions
  1. 2
      ccp/ccp-build.sh

2
ccp/ccp-build.sh

@ -52,6 +52,7 @@ build_images() {
}
hack_images() {
# useless, but let's keep it just in case we need to hack something else
for dir in ~/microservices-repos/ms-{nova,neutron}*/docker/* ; do
cp /root/resolv.conf $dir/
sed '/MAINTAINER/a COPY resolv.conf /etc/resolv.conf' -i $dir/Dockerfile.j2
@ -61,5 +62,4 @@ hack_images() {
create_mcp_conf
create_registry
create_resolvconf
hack_images
build_images
Loading…
Cancel
Save