Hack resolv.conf for ALL containers

This commit is contained in:
Aleksandr Didenko 2016-06-30 19:04:41 +02:00
parent 87856513c6
commit 80ee1f2d9e

View file

@ -53,7 +53,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
for dir in ~/microservices-repos/ms-*/docker/* ; do
cp /root/resolv.conf $dir/
sed '/MAINTAINER/a COPY resolv.conf /var/tmp/resolv.conf' -i $dir/Dockerfile.j2
done