Namespace
linuxserver
Image / Tag
nginx:amd64-1.28.2-r0-ls351
Content Digest
sha256:20f0bacfbb45a70a9ba54448f624889d43cdd9e27d8ed824bd67768090dd2639
Details
Created

2026-03-19 05:28:45 UTC

Size

50.8 MB

Content Digest
Labels
  • build_version
    Linuxserver.io version:- 1.28.2-r0-ls351 Build-date:- 2026-03-19T05:27:00+00:00
  • maintainer
    nemchik
  • org.opencontainers.image.authors
    linuxserver.io
  • org.opencontainers.image.created
    2026-03-19T05:27:00+00:00
  • org.opencontainers.image.description
    [Nginx](https://nginx.org/) is a simple webserver with php support. The config files reside in for easy user customization.
  • org.opencontainers.image.documentation
    https://docs.linuxserver.io/images/docker-nginx
  • org.opencontainers.image.licenses
    GPL-3.0-only
  • org.opencontainers.image.ref.name
    02123bb14e5958c951e4476ad46ccac569a7cf8b
  • org.opencontainers.image.revision
    02123bb14e5958c951e4476ad46ccac569a7cf8b
  • org.opencontainers.image.source
    https://github.com/linuxserver/docker-nginx
  • org.opencontainers.image.title
    Nginx
  • org.opencontainers.image.url
    https://github.com/linuxserver/docker-nginx/packages
  • org.opencontainers.image.vendor
    linuxserver.io
  • org.opencontainers.image.version
    1.28.2-r0-ls351

Environment
HOME

/root

LSIO_FIRST_PARTY

true

PATH

/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHP_INI_SCAN_DIR

:/config/php

PS1

$(whoami)@$(hostname):$(pwd)\$

S6_CMD_WAIT_FOR_SERVICES_MAXTIME

0

S6_STAGE2_HOOK

/docker-mods

S6_VERBOSITY

1

TERM

xterm

VIRTUAL_ENV

/lsiopy


Layers

[#000] sha256:eeeb1d8da7e43dadb35d8b00fd320d9d4274d01aa3f53295c20964e33de13cfd - 11.68% (5.93 MB)

[#001] sha256:f6a4c3e338ed76d3e90c1ce7a15013a45c9b55febc952bc905eed245ce0bb8d2 - 0.01% (6.09 KB)

[#002] sha256:9ef7c841ef6ffc9d6fb0771e77ae0f6e99b7e3383dabe3ea0485edf6fa86205f - 0.0% (1.33 KB)

[#003] sha256:0f6d350d8872f3fc7eebc7f55e1843190d060b9fd2b347630a6b31e1f5b43b22 - 0.0% (700 Bytes)

[#004] sha256:08ed3ab6b9e05ff462a4b904c60ff4ff750b40b67b71bcf5732535a3f031c21b - 0.0% (427 Bytes)

[#005] sha256:ebf9fe42b11d6257f1f72f2bec7475e9dd20bf250bbfb1e554469a3d969d17d9 - 11.15% (5.66 MB)

[#006] sha256:8b401a888746cc2767c66a6335622af6eb33a6c0480c0cb9ce2aef0b781903c0 - 0.01% (4.52 KB)

[#007] sha256:4b7cccfb9edae10a59d59b77a3d94d3488fa2006d96fb4084c2a0f7af7463d21 - 23.93% (12.1 MB)

[#008] sha256:5f821a03619a2afde23a3478f24768c6b28c12bff7ae32e13ff94f8021ad7df7 - 0.02% (8.2 KB)

[#009] sha256:e6a30567b2da8d062efa71dccdc990192bb3c6bae2bcac15a44fcb0e834290c2 - 53.21% (27 MB)

[#010] sha256:5a251ad60153741cdae7265839dfec0cd30f13b4ceb22e08b35afad65efbd4d0 - 0.0% (1018 Bytes)


History
2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

COPY /root-out/ / # buildkit

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

ARG BUILD_DATE=2026-03-07T13:53:02+00:00

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

ARG VERSION=d445376d-ls21

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

ARG MODS_VERSION=v3

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

ARG PKG_INST_VERSION=v1

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

ARG LSIOWN_VERSION=v1

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

ARG WITHCONTENV_VERSION=v1

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

LABEL build_version=Linuxserver.io version:- d445376d-ls21 Build-date:- 2026-03-07T13:53:02+00:00

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

LABEL maintainer=TheLamer

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

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

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit

2026-03-07 13:54:32 UTC (buildkit.dockerfile.v0)

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

2026-03-07 13:54:34 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_DATE=2026-03-07T13:53:02+00:00 VERSION=d445376d-ls21 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_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

2026-03-07 13:54:34 UTC (buildkit.dockerfile.v0)

COPY root/ / # buildkit

2026-03-07 13:54:34 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/init"]

2026-03-12 19:32:48 UTC (buildkit.dockerfile.v0)

ARG BUILD_DATE=2026-03-12T19:31:20+00:00

2026-03-12 19:32:48 UTC (buildkit.dockerfile.v0)

ARG VERSION=1.28.2-r0_8.4.16-r0-ls34

2026-03-12 19:32:48 UTC (buildkit.dockerfile.v0)

LABEL build_version=Linuxserver.io version:- 1.28.2-r0_8.4.16-r0-ls34 Build-date:- 2026-03-12T19:31:20+00:00

2026-03-12 19:32:48 UTC (buildkit.dockerfile.v0)

LABEL maintainer=nemchik

2026-03-12 19:32:48 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_SCAN_DIR=:/config/php

2026-03-12 19:32:48 UTC (buildkit.dockerfile.v0)

RUN |2 BUILD_DATE=2026-03-12T19:31:20+00:00 VERSION=1.28.2-r0_8.4.16-r0-ls34 /bin/sh -c echo "**** install build packages ****" && apk add --no-cache apache2-utils git logrotate nano nginx openssl php84 php84-ctype php84-curl php84-fileinfo php84-fpm php84-iconv php84-json php84-mbstring php84-openssl php84-phar php84-session php84-simplexml php84-xml php84-xmlwriter php84-zip php84-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)" != "php84" ]; then rm -rf /usr/bin/php && ln -s /usr/bin/php84 /usr/bin/php; fi && echo "**** configure php ****" && sed -i "s#;error_log = log/php84/error.log.*#error_log = /config/log/php/error.log#g" /etc/php84/php-fpm.conf && sed -i "s#user = nobody.*#user = abc#g" /etc/php84/php-fpm.d/www.conf && sed -i "s#group = nobody.*#group = abc#g" /etc/php84/php-fpm.d/www.conf && echo "**** add run paths to php runtime config ****" && grep -qxF 'include=/config/php/*.conf' /etc/php84/php-fpm.conf || echo 'include=/config/php/*.conf' >> /etc/php84/php-fpm.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

2026-03-12 19:32:48 UTC (buildkit.dockerfile.v0)

COPY root/ / # buildkit

2026-03-12 19:32:48 UTC (buildkit.dockerfile.v0)

EXPOSE [443/tcp 80/tcp]

2026-03-19 05:28:45 UTC (buildkit.dockerfile.v0)

ENV LSIO_FIRST_PARTY=true

2026-03-19 05:28:45 UTC (buildkit.dockerfile.v0)

ARG BUILD_DATE=2026-03-19T05:27:00+00:00

2026-03-19 05:28:45 UTC (buildkit.dockerfile.v0)

ARG VERSION=1.28.2-r0-ls351

2026-03-19 05:28:45 UTC (buildkit.dockerfile.v0)

ARG NGINX_VERSION=1.28.2-r0

2026-03-19 05:28:45 UTC (buildkit.dockerfile.v0)

LABEL build_version=Linuxserver.io version:- 1.28.2-r0-ls351 Build-date:- 2026-03-19T05:27:00+00:00

2026-03-19 05:28:45 UTC (buildkit.dockerfile.v0)

LABEL maintainer=nemchik

2026-03-19 05:28:45 UTC (buildkit.dockerfile.v0)

RUN |3 BUILD_DATE=2026-03-19T05:27:00+00:00 VERSION=1.28.2-r0-ls351 NGINX_VERSION=1.28.2-r0 /bin/sh -c if [ -z ${NGINX_VERSION+x} ]; then NGINX_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:nginx$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); fi && apk add --no-cache inotify-tools memcached nginx==${NGINX_VERSION} nginx-mod-http-brotli==${NGINX_VERSION} nginx-mod-http-dav-ext==${NGINX_VERSION} nginx-mod-http-echo==${NGINX_VERSION} nginx-mod-http-fancyindex==${NGINX_VERSION} nginx-mod-http-geoip==${NGINX_VERSION} nginx-mod-http-geoip2==${NGINX_VERSION} nginx-mod-http-headers-more==${NGINX_VERSION} nginx-mod-http-image-filter==${NGINX_VERSION} nginx-mod-http-perl==${NGINX_VERSION} nginx-mod-http-redis2==${NGINX_VERSION} nginx-mod-http-set-misc==${NGINX_VERSION} nginx-mod-http-upload-progress==${NGINX_VERSION} nginx-mod-http-xslt-filter==${NGINX_VERSION} nginx-mod-mail==${NGINX_VERSION} nginx-mod-rtmp==${NGINX_VERSION} nginx-mod-stream==${NGINX_VERSION} nginx-mod-stream-geoip==${NGINX_VERSION} nginx-mod-stream-geoip2==${NGINX_VERSION} nginx-vim==${NGINX_VERSION} php84-bcmath php84-bz2 php84-dom php84-exif php84-ftp php84-gd php84-gmp php84-imap php84-intl php84-ldap php84-mysqli php84-mysqlnd php84-opcache php84-pdo_mysql php84-pdo_odbc php84-pdo_pgsql php84-pdo_sqlite php84-pear php84-pecl-apcu php84-pecl-memcached php84-pecl-redis php84-pgsql php84-posix php84-soap php84-sockets php84-sodium php84-sqlite3 php84-tokenizer php84-xmlreader php84-xsl && printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && rm -f /etc/nginx/conf.d/stream.conf # buildkit

2026-03-19 05:28:45 UTC (buildkit.dockerfile.v0)

COPY root/ / # buildkit

2026-03-19 05:28:45 UTC (buildkit.dockerfile.v0)

EXPOSE [443/tcp 80/tcp]

2026-03-19 05:28:45 UTC (buildkit.dockerfile.v0)

VOLUME [/config]