aboutsummaryrefslogtreecommitdiff
path: root/docker_templates
diff options
context:
space:
mode:
Diffstat (limited to 'docker_templates')
-rw-r--r--docker_templates/kolla-ansible/Dockerfile.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/docker_templates/kolla-ansible/Dockerfile.j2 b/docker_templates/kolla-ansible/Dockerfile.j2
index 547694719..e95a90aa7 100644
--- a/docker_templates/kolla-ansible/Dockerfile.j2
+++ b/docker_templates/kolla-ansible/Dockerfile.j2
@@ -25,7 +25,7 @@ RUN apt-get install -y --no-install-recommends git
RUN pip install shade
-RUN git clone https://github.com/ansible/ansible.git \
+RUN git clone --depth 1 https://github.com/ansible/ansible.git \
&& cd ansible \
&& git submodule update --init --recursive \
&& pip install --install-option="--install-scripts=/usr/bin" .