Block a user
gallery-docker (latest)
Published 2025-12-01 02:00:23 +08:00 by adminroot
Installation
docker pull git.nvme.cc/adminroot/gallery-docker:latestsha256:aa1000bda707ffae9e08c128577f69bdd944afc4a5d1a797dd46387f3d447e94
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 65fefcb45e | linux/amd64 | 116 MiB |
Image Layers ( linux/amd64)
| ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| WORKDIR /app |
| COPY setup.sh setup.sh # buildkit |
| RUN /bin/sh -c chmod +x setup.sh # buildkit |
| RUN /bin/sh -c apk update && apk add --no-cache wget curl caddy php php-fpm php-curl php-mbstring php-openssl php-gd php-exif php-imagick php-zip php-session php-fileinfo supervisor ffmpeg ghostscript imagemagick && rm -rf /var/cache/apk/* # buildkit |
| RUN /bin/sh -c mkdir -p /etc/supervisor public data # buildkit |
| COPY gallery/index.php public/index.php # buildkit |
| RUN /bin/sh -c cd public && php index.php && cd /app && chmod -R 777 public data # buildkit |
| COPY gallery/_files/include/head.html /app/public/_files/include/head.html # buildkit |
| RUN /bin/sh -c printf ':80 {\n root * /app/public\n php_fastcgi localhost:9000 {\n index index.php\n }\n file_server\n}' > /etc/caddy/Caddyfile # buildkit |
| RUN /bin/sh -c printf '[supervisord]\nnodaemon=true\n\n[program:php-fpm]\ncommand=/usr/sbin/php-fpm83 --nodaemonize\nstdout_logfile=/dev/stdout\nstderr_logfile=/dev/stderr\n\n[program:caddy]\ncommand=caddy run --config /etc/caddy/Caddyfile\nstdout_logfile=/dev/stdout\nstderr_logfile=/dev/stderr\n\n[program:setup]\ncommand=/bin/sh /app/setup.sh\nstartsecs=0\nautorestart=false\nstdout_logfile=/dev/stdout\nstderr_logfile=/dev/stderr' > /etc/supervisor/supervisord.conf # buildkit |
| CMD ["supervisord" "-c" "/etc/supervisor/supervisord.conf"] |