From c64eb98011947d19273b09aaaed9b1d26cf1f10f Mon Sep 17 00:00:00 2001 From: Feng Huang Date: Wed, 9 Mar 2022 17:24:20 +0800 Subject: [PATCH] use app-sre packer image Signed-off-by: Feng Huang --- distribution/Dockerfile-ubi-packer | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/distribution/Dockerfile-ubi-packer b/distribution/Dockerfile-ubi-packer index 32719fca3..0a1df15a5 100644 --- a/distribution/Dockerfile-ubi-packer +++ b/distribution/Dockerfile-ubi-packer @@ -1,13 +1,4 @@ -FROM registry.access.redhat.com/ubi8/ubi-minimal:latest - -RUN curl --location --output /etc/yum.repos.d/hashicorp.repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo -RUN microdnf install packer jq openssh-clients unzip rsync python3 rust cargo gcc python3-devel openssl-devel -RUN pip3 install setuptools-rust -RUN pip3 install ansible -RUN ansible-galaxy collection install ansible.posix -RUN curl https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip -o /tmp/awscli.zip -RUN unzip /tmp/awscli.zip -RUN aws/install +FROM quay.io/app-sre/packer:latest # copy in entire workspace COPY . /osbuild-composer