0cb8e0f5f4
This parameterizes the base image location used for the libvirt, artifact-setup, infra-builder, and runner images. Closes: #628 Change-Id: Idca33b5571017700fead0eb758af1900b4a4fcf4
24 lines
509 B
Docker
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
|