From 52a5c801e5eee340d4accfd0067018dfd0f1c532 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Wed, 27 Dec 2017 15:47:11 +0100 Subject: [PATCH] improve build debug install.sh and fix debian build --- docker/debian/Dockerfile | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/debian/Dockerfile b/docker/debian/Dockerfile index fbd30eb..b1554d3 100644 --- a/docker/debian/Dockerfile +++ b/docker/debian/Dockerfile @@ -20,7 +20,7 @@ ENV PATH="${PATH}:/usr/bin/core_perl" # Project deps RUN echo 'deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main' >> /etc/apt/sources.list \ && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 -RUN apt-get install -y \ +RUN apt-get update && apt-get install -y \ ansible \ git # Create test user diff --git a/install.sh b/install.sh index 65af326..d94cf60 100755 --- a/install.sh +++ b/install.sh @@ -32,5 +32,5 @@ ok=${ok:-Y} if [[ "$ok" == "Y" ]] then echo "### RUN ####################################################################" - ansible-playbook -i "localhost," -c local install.yml --ask-become-pass -t $1 + ansible-playbook -i "localhost," -c local install.yml --ask-become-pass -t $1 || exit 1 fi