ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=24.04 |
ADD file:d77dea5c49828eb0de89439d2b631bc8ea27cb9ef774412b56a060ba1673487b in / |
CMD ["/bin/bash"] |
ENV TZ=Europe/Berlin |
RUN /bin/sh -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit |
ARG DEBIAN_FRONTEND=noninteractive |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get update && apt-get install -y apache2 apache2-utils ca-certificates php libapache2-mod-php php-curl php-dom php-gd php-intl php-json php-mbstring php-xml php-zip && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
COPY default.conf /etc/apache2/sites-available/000-default.conf # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c rm /var/www/html/* # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c a2enmod headers rewrite # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c groupadd -g 1111 kirbygroup && usermod -aG kirbygroup www-data # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c chown -R www-data:kirbygroup /var/www/html # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c chmod -R g+rw /var/www/html && find /var/www/html -type d -exec chmod g+xs {} \; # buildkit |
EXPOSE map[80/tcp:{}] |
CMD ["/usr/sbin/apache2ctl" "-DFOREGROUND"] |