From fa70a51b077f2d9c29096c6be971f89b44ff2807 Mon Sep 17 00:00:00 2001 From: Kelley Spoon Date: Wed, 14 Feb 2018 16:26:52 -0600 Subject: Add latest ansible back to baseimage and try to clean up pkgs to save space. --- Dockerfile_trusty | 9 ++++----- Dockerfile_xenial | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Dockerfile_trusty b/Dockerfile_trusty index 445ea98..46d6f35 100644 --- a/Dockerfile_trusty +++ b/Dockerfile_trusty @@ -7,13 +7,12 @@ FROM ubuntu:14.04 LABEL maintainer="Ben Copeland " -RUN apt-get update +ENV DEBIAN_FRONTEND=noninteractive -#RUN apt-get install -y software-properties-common python-software-properties -#RUN apt-add-repository ppa:ansible/ansible +RUN apt-get update -y && apt-get install -y software-properties-common python-software-properties +RUN apt-add-repository -y ppa:ansible/ansible -# Update apt cache -RUN apt-get update && apt-get install -y ansible vim bash openssh-server python-apt sudo cron +RUN apt-get update -y && apt-get install -y ansible vim bash openssh-server python-apt sudo cron && apt-get clean -y RUN mkdir -p /root/.ssh/ ADD pubkeys /root/.ssh/authorized_keys diff --git a/Dockerfile_xenial b/Dockerfile_xenial index d750189..91c5abc 100644 --- a/Dockerfile_xenial +++ b/Dockerfile_xenial @@ -7,13 +7,12 @@ FROM ubuntu:16.04 LABEL maintainer="Ben Copeland " -RUN apt-get update +ENV DEBIAN_FRONTEND=noninteractive -#RUN apt-get install -y software-properties-common python-software-properties -#RUN apt-add-repository ppa:ansible/ansible +RUN apt-get update -y && apt-get install -y software-properties-common python-software-properties +RUN apt-add-repository -y ppa:ansible/ansible -# Update apt cache -RUN apt-get update && apt-get install -y ansible vim bash openssh-server python-apt sudo cron +RUN apt-get update -y && apt-get install -y ansible vim bash openssh-server python-apt sudo cron && apt-get clean -y RUN mkdir -p /root/.ssh/ ADD pubkeys /root/.ssh/authorized_keys -- cgit v1.2.3