From 1fea9e8e1f8e33607fe9bd1735b1b5cbf8100e27 Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Thu, 26 Apr 2018 13:02:43 -0400 Subject: Fix add-apt-repository When run from command line, add-apt-repository waits for user prompt to continue. Redirecting stdin to /dev/null allows installation to proceed without prompt. Change-Id: Ia646e775a3fcfba6100ffea05c48d6d6bc2f498d Issue-ID: SDNC-288 Signed-off-by: Timoney, Dan (dt5972) Former-commit-id: 52a359f2a7710eb2a4373b277485c2c7f34af69a --- installation/ansible-server/src/main/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'installation') diff --git a/installation/ansible-server/src/main/docker/Dockerfile b/installation/ansible-server/src/main/docker/Dockerfile index 373e12d2..dfbb060c 100644 --- a/installation/ansible-server/src/main/docker/Dockerfile +++ b/installation/ansible-server/src/main/docker/Dockerfile @@ -18,7 +18,7 @@ RUN apt-get -y install python-pip ##Ansible: RUN apt-get -y install software-properties-common -RUN apt-add-repository ppa:ansible/ansible +RUN apt-add-repository -y ppa:ansible/ansible RUN apt-get -y install ansible # copy files needed -- cgit 1.2.3-korg