images/apache/Dockerfile
Sreejith Punnapuzha 0e77470ca9 Parameterize from url in apache dockerfile
Change-Id: I282f5c1f9b9ba38b1a1856fca4a755480d808cca
Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
2020-10-29 13:22:15 -05:00

20 lines
761 B
Docker

ARG FROM=docker.io/ubuntu:bionic
FROM ${FROM}
LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc://#airshipit@freenode' \
org.opencontainers.image.url='https://airshipit.org' \
org.opencontainers.image.documentation='https://airshipit.readthedocs.io' \
org.opencontainers.image.source='https://opendev.org/airship/images' \
org.opencontainers.image.vendor='The Airship Authors' \
org.opencontainers.image.licenses='Apache-2.0'
RUN set -xe \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt-get update -qq && apt-get -y dist-upgrade \
&& apt-get install -y apache2 \
&& apt-get autoremove -y --purge \
&& apt-get clean \
&& rm -rf /var/lib/apt-get/lists/*
CMD ["/bin/bash"]