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 \