Hack resolv.conf for ALL containers
This commit is contained in:
parent
87856513c6
commit
80ee1f2d9e
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ build_images() {
|
||||||
|
|
||||||
hack_images() {
|
hack_images() {
|
||||||
# useless, but let's keep it just in case we need to hack something else
|
# 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/
|
cp /root/resolv.conf $dir/
|
||||||
sed '/MAINTAINER/a COPY resolv.conf /var/tmp/resolv.conf' -i $dir/Dockerfile.j2
|
sed '/MAINTAINER/a COPY resolv.conf /var/tmp/resolv.conf' -i $dir/Dockerfile.j2
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue