| # debian.sh --arch 'arm64' out/ 'stable' '@1760918400' |
| LABEL org.opencontainers.image.authors=fabrice.kirchner@casa-due-pur.de |
| ARG DEBIAN_FRONTEND=noninteractive |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get update && apt-get install -y -qq --no-install-recommends apache2 libapache2-mod-security2 libapache2-mod-fcgid libapache2-mod-xsendfile libfcgi-bin zip jpegoptim optipng gifsicle openssl ssl-cert ca-certificates zip curl && rm -rf /var/lib/apt/lists/* # buildkit |
| ADD remoteip.conf /etc/apache2/conf-available/remoteip.conf # buildkit |
| ADD override.conf /etc/apache2/conf-available/override.conf # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c a2enconf override.conf # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c a2dismod mpm_prefork # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c a2enmod cache_socache rewrite remoteip socache_shmcb mime_magic slotmem_shm remoteip headers expires vhost_alias xml2enc http2 security2 lbmethod_byrequests include cache ssl proxy_fcgi setenvif mpm_event # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c a2ensite default-ssl # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c ln -sf /proc/self/fd/1 /var/log/apache2/access.log && ln -sf /proc/self/fd/1 /var/log/apache2/error.log # buildkit |
| COPY proxy-php.conf /etc/apache2/conf-available/proxy-php.conf # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c a2enconf proxy-php && a2enmod remoteip && a2ensite default-ssl && rm /var/www/html/index.html # buildkit |
| COPY /docker-entrypoint-apache.d /docker-entrypoint.d/ # buildkit |
| COPY docker-entrypoint.sh / # buildkit |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c chmod +x /docker-entrypoint.sh # buildkit |
| WORKDIR /var/www/html |
| EXPOSE [80/tcp] |
| EXPOSE [443/tcp] |
| ENTRYPOINT ["/docker-entrypoint.sh"] |
| CMD ["apachectl" "-D" "FOREGROUND"] |