From f7f560de2e5092ac4ad7c8141f269c1add047f3c Mon Sep 17 00:00:00 2001 From: Aleksandr Didenko Date: Thu, 30 Jun 2016 18:18:33 +0200 Subject: [PATCH] No need to hack resolv.conf in dockerfiles --- ccp/ccp-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccp/ccp-build.sh b/ccp/ccp-build.sh index 0938e53d7..3045b1b87 100755 --- a/ccp/ccp-build.sh +++ b/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