airshipctl/tools/airship-in-a-pod/artifact-setup/Dockerfile
Ian Howell e241430712 AIAP: Update documentation
This updates the documentation for working with AIAP. This includes
changes to the README as well as adding all configurable values to the
examples (having their default values).

Change-Id: I7c1b92d6a324b0fbd07f27ec0607fc62765c4fa2
2021-09-09 00:10:17 +00:00

32 lines
769 B
Docker

ARG BASE_IMAGE=quay.io/airshipit/aiap-base:latest
FROM ${BASE_IMAGE}
SHELL ["bash", "-exc"]
ENV DEBIAN_FRONTEND noninteractive
ARG USE_CACHED_AIRSHIPCTL="false"
ENV USE_CACHED_AIRSHIPCTL=$USE_CACHED_AIRSHIPCTL
ARG AIRSHIPCTL_REPO_URL=https://opendev.org/airship/airshipctl
ENV AIRSHIPCTL_REPO_URL=$AIRSHIPCTL_REPO_URL
ARG AIRSHIPCTL_REPO_REF=master
ENV AIRSHIPCTL_REPO_REF=$AIRSHIPCTL_REPO_REF
# Update distro and install ansible
RUN apt-get update ;\
apt-get dist-upgrade -y ;\
apt-get install -y \
git \
apt-transport-https \
ca-certificates \
gnupg-agent \
gettext-base ;\
rm -rf /var/lib/apt/lists/*
COPY assets /opt/assets/
RUN cp -ravf /opt/assets/* / ;\
rm -rf /opt/assets
ENTRYPOINT /entrypoint.sh