Namespace
linuxserver
Image / Tag
nginx:amd64-1.22.1-r0-ls215
Content Digest
sha256:ab4c8432c5f354a036b9254cd444b6bd40c94d023af7c20b64e7922451bdc409
Details
Created

2023-03-17 14:32:02 +0100

Size

45.9 MB

Content Digest
Labels
  • build_version
    Linuxserver.io version:- 1.22.1-r0-ls215 Build-date:- 2023-03-17T14:30:47+01:00
  • maintainer
    aptalca
  • org.opencontainers.image.authors
    linuxserver.io
  • org.opencontainers.image.created
    2023-03-17T14:30:47+01: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
    c11c0bb8b03a7f1d99338f511d1c676b281101b4
  • org.opencontainers.image.revision
    c11c0bb8b03a7f1d99338f511d1c676b281101b4
  • 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.22.1-r0-ls215

Environment
HOME

/root

LSIO_FIRST_PARTY

true

PATH

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

PS1

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

S6_CMD_WAIT_FOR_SERVICES_MAXTIME

0

S6_STAGE2_HOOK

/docker-mods

S6_VERBOSITY

1

TERM

xterm


Layers

[#000] sha256:6f0fdad1ce929e97838c33e34677cccb186e5a3817be193ecd28116d2d1a6bd3 - 12.32% (5.66 MB)

[#001] sha256:c61fe2056171d6399726ab2e65848033b3acf1fff9449ecd956a2bf567edc662 - 0.01% (3.44 KB)

[#002] sha256:604d992cfe468c6b0095e31dac8ebea5b353a71cae0cb1554c476e35e7323701 - 9.27% (4.25 MB)

[#003] sha256:e4bccb8e029e2bdde737a8df662408e903ea5eb5b34b80cc3247ae949708b5d6 - 0.01% (3.73 KB)

[#004] sha256:6b3b29bcce5499d721a6904c1c6ad6fdc7dfc945f9841b251277a8d8f95f7f39 - 23.42% (10.8 MB)

[#005] sha256:d16fa746fa00d4c0d914cd889d186592c7f7c97c6d518d09637795065c8ccd7b - 0.02% (8.02 KB)

[#006] sha256:8f2e66fba11cde729a955914b9b1084bf3c08af18f698c9465801014f68e4d4c - 54.96% (25.2 MB)


History
2023-03-01 14:17:24 -0600 (buildkit.dockerfile.v0)

COPY /root-out/ / # buildkit

2023-03-01 14:17:24 -0600 (buildkit.dockerfile.v0)

ARG BUILD_DATE

2023-03-01 14:17:24 -0600 (buildkit.dockerfile.v0)

ARG VERSION

2023-03-01 14:17:24 -0600 (buildkit.dockerfile.v0)

ARG MODS_VERSION=v3

2023-03-01 14:17:24 -0600 (buildkit.dockerfile.v0)

LABEL build_version=Linuxserver.io version:- c9ce7a6f-ls12 Build-date:- 2023-03-01T14:15:47-06:00

2023-03-01 14:17:24 -0600 (buildkit.dockerfile.v0)

LABEL maintainer=TheLamer

2023-03-01 14:17:24 -0600 (buildkit.dockerfile.v0)

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

2023-03-01 14:17:24 -0600 (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

2023-03-01 14:17:26 -0600 (buildkit.dockerfile.v0)

RUN |3 BUILD_DATE=2023-03-01T14:15:47-06:00 VERSION=c9ce7a6f-ls12 MODS_VERSION=v3 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache alpine-release bash ca-certificates coreutils curl jq netcat-openbsd procps 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 && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit

2023-03-01 14:17:26 -0600 (buildkit.dockerfile.v0)

COPY root/ / # buildkit

2023-03-01 14:17:26 -0600 (buildkit.dockerfile.v0)

ENTRYPOINT ["/init"]

2023-03-09 06:59:09 +0100 (buildkit.dockerfile.v0)

RUN /bin/sh -c echo "**** install build packages ****" && apk add --no-cache apache2-utils git logrotate nano nginx openssl php81 php81-fileinfo php81-fpm php81-json php81-mbstring php81-openssl php81-session php81-simplexml php81-xml php81-xmlwriter php81-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/http.d/default.conf && echo "**** configure php ****" && sed -i "s#;error_log = log/php81/error.log.*#error_log = /config/log/php/error.log#g" /etc/php81/php-fpm.conf && sed -i "s#user = nobody.*#user = abc#g" /etc/php81/php-fpm.d/www.conf && sed -i "s#group = nobody.*#group = abc#g" /etc/php81/php-fpm.d/www.conf && 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

2023-03-09 06:59:09 +0100 (buildkit.dockerfile.v0)

COPY root/ / # buildkit

2023-03-09 06:59:09 +0100 (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{} 80/tcp:{}]

2023-03-17 14:32:02 +0100 (buildkit.dockerfile.v0)

ENV LSIO_FIRST_PARTY=true

2023-03-17 14:32:02 +0100 (buildkit.dockerfile.v0)

ARG BUILD_DATE

2023-03-17 14:32:02 +0100 (buildkit.dockerfile.v0)

ARG VERSION

2023-03-17 14:32:02 +0100 (buildkit.dockerfile.v0)

ARG NGINX_VERSION

2023-03-17 14:32:02 +0100 (buildkit.dockerfile.v0)

LABEL build_version=Linuxserver.io version:- 1.22.1-r0-ls215 Build-date:- 2023-03-17T14:30:47+01:00

2023-03-17 14:32:02 +0100 (buildkit.dockerfile.v0)

LABEL maintainer=aptalca

2023-03-17 14:32:02 +0100 (buildkit.dockerfile.v0)

RUN |3 BUILD_DATE=2023-03-17T14:30:47+01:00 VERSION=1.22.1-r0-ls215 NGINX_VERSION=1.22.1-r0 /bin/sh -c if [ -z ${NGINX_VERSION+x} ]; then NGINX_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.17/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 --upgrade 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} php81-bcmath php81-bz2 php81-ctype php81-curl php81-dom php81-exif php81-ftp php81-gd php81-gmp php81-iconv php81-imap php81-intl php81-ldap php81-mysqli php81-mysqlnd php81-opcache php81-pdo_mysql php81-pdo_odbc php81-pdo_pgsql php81-pdo_sqlite php81-pear php81-pecl-apcu php81-pecl-mailparse php81-pecl-memcached php81-pecl-redis php81-pgsql php81-phar php81-posix php81-soap php81-sockets php81-sodium php81-sqlite3 php81-tokenizer php81-xmlreader php81-xsl php81-zip && apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing php81-pecl-mcrypt php81-pecl-xmlrpc # buildkit

2023-03-17 14:32:02 +0100 (buildkit.dockerfile.v0)

EXPOSE map[443/tcp:{} 80/tcp:{}]

2023-03-17 14:32:02 +0100 (buildkit.dockerfile.v0)

VOLUME [/config]