rompr (latest)
Published 2022-10-17 04:47:01 +00:00 by a
Installation
docker pull tuxpa.in/a/rompr:latest
sha256:964eb9bfd7fd4be3759ee618c0708c0a4f97a7dd9d91cbf2fc55f91a9f70bb90
Image Layers
ADD file:b78b777208be08edd8f297035cdfbacddb45170ad778fd643c792ee045187e39 in / |
CMD ["bash"] |
ENV DEBIAN_FRONTEND=noninteractive |
RUN /bin/sh -c apt-get update && apt-get -y install nginx php-fpm curl php-mysql php-curl php-gd unzip imagemagick php-json php-xml php-mbstring php-sqlite3 # buildkit |
RUN /bin/sh -c mkdir -p /run/php/ # buildkit |
RUN /bin/sh -c sed -ri -e 's/^allow_url_fopen =.*/allow_url_fopen = On/g' /etc/php/7.4/fpm/php.ini # buildkit |
RUN /bin/sh -c sed -ri -e 's/^memory_limit =.*/memory_limit = 128M/g' /etc/php/7.4/fpm/php.ini # buildkit |
RUN /bin/sh -c sed -ri -e 's/^max_execution_time =.*/max_execution_time = 1800/g' /etc/php/7.4/fpm/php.ini # buildkit |
RUN /bin/sh -c sed -ri -e 's/^post_max_size =.*/post_max_size = 256M/g' /etc/php/7.4/fpm/php.ini # buildkit |
RUN /bin/sh -c sed -ri -e 's/^upload_max_filesize =.*/upload_max_filesize = 8M/g' /etc/php/7.4/fpm/php.ini # buildkit |
RUN /bin/sh -c sed -ri -e 's/^max_file_uploads =.*/max_file_uploads = 50/g' /etc/php/7.4/fpm/php.ini # buildkit |
RUN /bin/sh -c sed -ri -e 's/^display_errors =.*/display_errors = On/g' /etc/php/7.4/fpm/php.ini # buildkit |
RUN /bin/sh -c sed -ri -e 's/^display_startup_errors =.*/display_startup_errors = On/g' /etc/php/7.4/fpm/php.ini # buildkit |
ARG ROMPR_VERSION=1.59 |
ADD https://github.com/fatg3erman/RompR/releases/download/1.61/rompr-1.61.zip rompr.zip # buildkit |
RUN |1 ROMPR_VERSION=1.61 /bin/sh -c mkdir -p /app # buildkit |
RUN |1 ROMPR_VERSION=1.61 /bin/sh -c unzip -d /app rompr.zip && rm rompr.zip # buildkit |
RUN |1 ROMPR_VERSION=1.61 /bin/sh -c mkdir /app/rompr/prefs # buildkit |
RUN |1 ROMPR_VERSION=1.61 /bin/sh -c mkdir /app/rompr/albumart # buildkit |
RUN |1 ROMPR_VERSION=1.61 /bin/sh -c chown -R www-data:www-data /app/rompr # buildkit |
COPY nginx_default /etc/nginx/sites-available/default # buildkit |
RUN |1 ROMPR_VERSION=1.61 /bin/sh -c echo "<?php phpinfo(); ?>" > /app/rompr/phpinfo.php # buildkit |
RUN |1 ROMPR_VERSION=1.61 /bin/sh -c update-rc.d php7.4-fpm defaults # buildkit |
COPY run-httpd /usr/local/bin/ # buildkit |
RUN |1 ROMPR_VERSION=1.61 /bin/sh -c chmod 755 /usr/local/bin/run-httpd # buildkit |
EXPOSE map[80/tcp:{}] |
CMD ["/usr/local/bin/run-httpd"] |