From a8b69e8750cc418ac5dd54aadb35435caddb4c82 Mon Sep 17 00:00:00 2001 From: Tobias Trabelsi Date: Thu, 11 Jun 2020 12:23:02 +0200 Subject: [PATCH] centos 8 and frontend settings to install --- centos-8/Dockerfile | 8 ++++++++ ubuntu-20.04/Dockerfile | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 centos-8/Dockerfile diff --git a/centos-8/Dockerfile b/centos-8/Dockerfile new file mode 100644 index 0000000..a80b15a --- /dev/null +++ b/centos-8/Dockerfile @@ -0,0 +1,8 @@ +FROM centos:8 + +RUN yum -y install epel-release \ + && yum -y install ansible git \ + && yum clean headers \ + && yum clean packages + +CMD ["ansible-playbook", "--help"] diff --git a/ubuntu-20.04/Dockerfile b/ubuntu-20.04/Dockerfile index de6c371..23e9060 100644 --- a/ubuntu-20.04/Dockerfile +++ b/ubuntu-20.04/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:20.04 -RUN DEBIAN_FRONTEND=noninteractive apt-get update \ - && apt-get install -y --no-install-recommends \ +RUN apt-get update \ + && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ software-properties-common \ apt-utils \ ansible \