From 5260215d2892bcd85f938d34f938cf0cf654c1ec Mon Sep 17 00:00:00 2001 From: Bert Van Vreckem Date: Sat, 12 Dec 2015 11:36:33 +0100 Subject: [PATCH] Change order in build process --- tests/Dockerfile.centos | 2 +- tests/Dockerfile.ubuntu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Dockerfile.centos b/tests/Dockerfile.centos index dc27b87..fcab1d2 100644 --- a/tests/Dockerfile.centos +++ b/tests/Dockerfile.centos @@ -19,8 +19,8 @@ RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers # Install Ansible inventory file RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts COPY requirements.yml /etc/ansible/requirements.yml -COPY test.yml /etc/ansible/test.yml RUN ansible-galaxy install -r /etc/ansible/requirements.yml +COPY test.yml /etc/ansible/test.yml VOLUME [ "/sys/fs/cgroup" ] CMD ["/usr/sbin/init"] diff --git a/tests/Dockerfile.ubuntu b/tests/Dockerfile.ubuntu index bb37040..f48ad29 100644 --- a/tests/Dockerfile.ubuntu +++ b/tests/Dockerfile.ubuntu @@ -7,6 +7,6 @@ RUN apt-get install -y ansible # Install Ansible inventory file RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts COPY requirements.yml /etc/ansible/requirements.yml -COPY test.yml /etc/ansible/test.yml RUN ansible-galaxy install -r /etc/ansible/requirements.yml +COPY test.yml /etc/ansible/test.yml