ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / |
CMD ["/bin/sh"] |
LABEL maintainer=J. Elfring <code@elfring.ms> |
RUN /bin/sh -c apk add --update --no-cache curl git mc php83 php83-apache2 php83-apcu php83-curl php83-ctype php83-dom php83-exif php83-fileinfo php83-gd php83-gmp php83-iconv php83-intl php83-json php83-mbstring php83-opcache php83-openssl php83-posix php83-pdo php83-pdo_mysql php83-pdo_sqlite php83-session php83-simplexml php83-xml php83-zip php83-zlib # buildkit |
COPY assets/php83.ini /etc/php83/php.ini # buildkit |
COPY assets/httpd.conf /etc/apache2/httpd.conf # buildkit |
RUN /bin/sh -c chown apache:apache /run/apache2 # buildkit |
RUN /bin/sh -c chown -R apache:apache /var/www/localhost && sed -i 's+apache:x:100:101:apache:/var/www:/sbin/nologin+apache:x:100:101:apache:/var/www/localhost:/sbin/nologin+' /etc/passwd # buildkit |
USER apache |
ENV SERVERADMINMAIL=webmaster@example.com |
VOLUME [/var/www/localhost] |
EXPOSE map[8080/tcp:{}] |
WORKDIR /var/www/localhost |
CMD ["/bin/sh" "-c" "httpd -D FOREGROUND"] |