cache/lscr.io/linuxserver/grav (latest)
Published 2026-03-25 15:11:56 +01:00 by balki
Installation
docker pull forgejo.balki.cloud/balki/cache/lscr.io/linuxserver/grav:latestsha256:bfd898663c668a4fc6a8e125dc34d497ad4095503bd567cb33d2efd7362cff46About this package
[Grav](https://github.com/getgrav/grav/) is a Fast, Simple, and Flexible, file-based Web-platform.
Image layers
| COPY /root-out/ / # buildkit |
| ARG BUILD_DATE=2026-03-07T13:51:42+00:00 |
| ARG VERSION=6ab1c855-ls38 |
| ARG MODS_VERSION=v3 |
| ARG PKG_INST_VERSION=v1 |
| ARG LSIOWN_VERSION=v1 |
| LABEL build_version=Linuxserver.io version:- 6ab1c855-ls38 Build-date:- 2026-03-07T13:51:42+00:00 |
| LABEL maintainer=TheLamer |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit |
| ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |5 BUILD_DATE=2026-03-07T13:51:42+00:00 VERSION=6ab1c855-ls38 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache alpine-release bash ca-certificates catatonit coreutils curl findutils jq netcat-openbsd procps-ng shadow tzdata && echo "**** create abc user and make our folders ****" && groupmod -g 1000 users && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit |
| COPY root/ / # buildkit |
| ENTRYPOINT ["/init"] |
| ARG BUILD_DATE=2026-03-19T19:43:35+00:00 |
| ARG VERSION=1.26.3-r0_8.3.15-r0-ls67 |
| LABEL build_version=Linuxserver.io version:- 1.26.3-r0_8.3.15-r0-ls67 Build-date:- 2026-03-19T19:43:35+00:00 |
| LABEL maintainer=nemchik |
| RUN |2 BUILD_DATE=2026-03-19T19:43:35+00:00 VERSION=1.26.3-r0_8.3.15-r0-ls67 /bin/sh -c echo "**** install build packages ****" && apk add --no-cache apache2-utils git logrotate nano nginx openssl php83 php83-ctype php83-curl php83-fileinfo php83-fpm php83-iconv php83-json php83-mbstring php83-openssl php83-phar php83-session php83-simplexml php83-xml php83-xmlwriter php83-zip php83-zlib && echo "**** configure nginx ****" && echo 'fastcgi_param HTTP_PROXY ""; # https://httpoxy.org/' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param PATH_INFO $fastcgi_path_info; # http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_split_path_info' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # https://www.nginx.com/resources/wiki/start/topics/examples/phpfcgi/#connecting-nginx-to-php-fpm' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param SERVER_NAME $host; # Send HTTP_HOST as SERVER_NAME. If HTTP_HOST is blank, send the value of server_name from nginx (default is `_`)' >> /etc/nginx/fastcgi_params && rm -f /etc/nginx/conf.d/stream.conf && rm -f /etc/nginx/http.d/default.conf && echo "**** guarantee correct php version is symlinked ****" && if [ "$(readlink /usr/bin/php)" != "php83" ]; then rm -rf /usr/bin/php && ln -s /usr/bin/php83 /usr/bin/php; fi && echo "**** configure php ****" && sed -i "s#;error_log = log/php83/error.log.*#error_log = /config/log/php/error.log#g" /etc/php83/php-fpm.conf && sed -i "s#user = nobody.*#user = abc#g" /etc/php83/php-fpm.d/www.conf && sed -i "s#group = nobody.*#group = abc#g" /etc/php83/php-fpm.d/www.conf && echo "**** install php composer ****" && EXPECTED_CHECKSUM="$(php -r 'copy("https://composer.github.io/installer.sig", "php://stdout");')" && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && ACTUAL_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" && if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ]; then >&2 echo 'ERROR: Invalid installer checksum' && rm composer-setup.php && exit 1; fi && php composer-setup.php --install-dir=/usr/bin && rm composer-setup.php && ln -s /usr/bin/composer.phar /usr/bin/composer && echo "**** fix logrotate ****" && sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf && sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' /etc/periodic/daily/logrotate # buildkit |
| COPY root/ / # buildkit |
| EXPOSE [443/tcp 80/tcp] |
| ENV LSIO_FIRST_PARTY=true |
| ARG BUILD_DATE=2026-03-21T14:04:37+00:00 |
| ARG VERSION=1.7.49.5-ls241 |
| ARG GRAV_RELEASE=1.7.49.5 |
| LABEL build_version=Linuxserver.io version:- 1.7.49.5-ls241 Build-date:- 2026-03-21T14:04:37+00:00 |
| LABEL maintainer=TheSpad |
| RUN |3 BUILD_DATE=2026-03-21T14:04:37+00:00 VERSION=1.7.49.5-ls241 GRAV_RELEASE=1.7.49.5 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache busybox-suid nginx-mod-http-brotli php83-dom php83-gd php83-intl php83-ldap php83-opcache php83-pdo php83-pdo_sqlite php83-pecl-apcu php83-pecl-yaml php83-redis php83-tokenizer && echo "**** configure php-fpm to pass env vars ****" && sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php83/php-fpm.d/www.conf && grep -qxF 'clear_env = no' /etc/php83/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php83/php-fpm.d/www.conf && echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php83/php-fpm.conf && echo "**** setup php opcache ****" && { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.enable_cli=1'; } > /etc/php83/conf.d/php-opcache.ini && if [ -z ${GRAV_RELEASE+x} ]; then GRAV_RELEASE=$(curl -sX GET "https://api.github.com/repos/getgrav/grav/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]'); fi && echo "*** Installing Grav ***" && mkdir -p /app/www/public && curl -o /tmp/grav.zip -L "https://github.com/getgrav/grav/releases/download/${GRAV_RELEASE}/grav-admin-v${GRAV_RELEASE}.zip" && unzip -q /tmp/grav.zip -d /tmp/grav && mv /tmp/grav/grav-admin/* /app/www/public/ && printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && echo "**** cleanup ****" && rm -rf /tmp/* $HOME/.cache $HOME/.composer # buildkit |
| COPY root/ / # buildkit |
| EXPOSE [443/tcp 80/tcp] |
| VOLUME [/config] |
Labels
| Key | Value |
|---|---|
| build_version | Linuxserver.io version:- 1.7.49.5-ls241 Build-date:- 2026-03-21T14:04:37+00:00 |
| maintainer | TheSpad |
| org.opencontainers.image.authors | linuxserver.io |
| org.opencontainers.image.created | 2026-03-21T14:04:37+00:00 |
| org.opencontainers.image.description | [Grav](https://github.com/getgrav/grav/) is a Fast, Simple, and Flexible, file-based Web-platform. |
| org.opencontainers.image.documentation | https://docs.linuxserver.io/images/docker-grav |
| org.opencontainers.image.licenses | GPL-3.0-only |
| org.opencontainers.image.ref.name | 54c2a7a633966735465f8187abe9faeb06b488e4 |
| org.opencontainers.image.revision | 54c2a7a633966735465f8187abe9faeb06b488e4 |
| org.opencontainers.image.source | https://github.com/linuxserver/docker-grav |
| org.opencontainers.image.title | Grav |
| org.opencontainers.image.url | https://github.com/linuxserver/docker-grav/packages |
| org.opencontainers.image.vendor | linuxserver.io |
| org.opencontainers.image.version | 1.7.49.5-ls241 |