From 5c2b2dea0c280e9a9dc1843f413f3b3c4fa32e65 Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Thu, 8 Oct 2020 18:33:43 -0400 Subject: [PATCH] REVERT ME: Install community.general in image This is needed for the wait_fors in the launch scripts to work --- tools/ansible/roles/dockerfile/templates/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 b/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 index 6fa2c08cd4..ecdcb32733 100644 --- a/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 +++ b/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 @@ -139,6 +139,9 @@ RUN curl -L -o /usr/bin/tini https://github.com/krallin/tini/releases/download/v RUN python3 -m ensurepip && pip3 install "virtualenv < 20" supervisor {% if build_dev|bool %}flake8{% endif %} && \ pip3 install --no-cache-dir https://github.com/ansible/ansible/archive/${ANSIBLE_BRANCH}.tar.gz +# TODO: Remove this once launch script removes need for postres modules +RUN ansible-galaxy collection install --collections-path /usr/share/ansible/collections community.general + RUN rm -rf /root/.cache && rm -rf /tmp/* # Install Receptor