airshipctl/tools/airship-in-a-pod/infra-builder/Dockerfile
Ian Howell 0cb8e0f5f4 AIAP: Parameterize base image
This parameterizes the base image location used for the libvirt,
artifact-setup, infra-builder, and runner images.

Closes: #628

Change-Id: Idca33b5571017700fead0eb758af1900b4a4fcf4
2021-09-03 12:32:38 -05:00

24 lines
509 B
Docker

ARG BASE_IMAGE=quay.io/airshipit/aiap-base:latest
FROM ${BASE_IMAGE}
SHELL ["bash", "-exc"]
ENV DEBIAN_FRONTEND noninteractive
# Update distro and install ansible
RUN apt-get update ;\
apt-get dist-upgrade -y ;\
apt-get install -y \
python3-apt \
python3-lxml \
virtinst \
nfs4-acl-tools \
acl \
virt-manager;\
rm -rf /var/lib/apt/lists/*
COPY assets /opt/assets/
RUN cp -ravf /opt/assets/* / ;\
rm -rf /opt/assets
ENTRYPOINT /entrypoint.sh