use app-sre packer image

Signed-off-by: Feng Huang <fehuang@redhat.com>
This commit is contained in:
Feng Huang 2022-03-09 17:24:20 +08:00 committed by Ondřej Budai
parent 72de1b3bbe
commit c64eb98011

View file

@ -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