Namespace
linuxserver
Image / Tag
nginx:amd64-1.20.2-r1-ls202
Content Digest
sha256:bb65412e568c5095438176fa928d53496d8226201f503273fee6c7e63832fa54
Details
Created

2022-12-02 14:34:28 +0100

Size

54.3 MB

Content Digest
Labels
  • build_version
    Linuxserver.io version:- 1.20.2-r1-ls202 Build-date:- 2022-12-02T14:33:18+01:00
  • maintainer
    aptalca
  • org.opencontainers.image.authors
    linuxserver.io
  • org.opencontainers.image.created
    2022-12-02T14:33:18+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
    d42152b7306920521ecf8a0f1e83552bb61243d6
  • org.opencontainers.image.revision
    d42152b7306920521ecf8a0f1e83552bb61243d6
  • 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.20.2-r1-ls202

Environment
HOME

/root

PATH

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

PS1

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

S6_BEHAVIOUR_IF_STAGE2_FAILS

2

S6_CMD_WAIT_FOR_SERVICES_MAXTIME

0

TERM

xterm


Layers

[#000] sha256:ce261d1b6aaa2b988d24f4e6578eca21cb8f483e04090bc42bdda99eccaaccbe - 9.42% (5.11 MB)

[#001] sha256:30f60e8ef90267a0b7e3efcb2eb6603cb079bc708f30ff048d05a3844428b330 - 6.99% (3.79 MB)

[#002] sha256:a9d4b4407832b6faae98821dbf95302b3a77ead504c1cd0a887559adcb01197c - 0.01% (5.82 KB)

[#003] sha256:f196bcd30b9d478a4585438734ada635af75ec3d2342adb8a41c87be54250179 - 24.04% (13.1 MB)

[#004] sha256:4a1016b16d78c2700c8ee677e1533529cf0650facd13e6615d1721daec909e12 - 0.01% (6.46 KB)

[#005] sha256:28a8154a24d73de0bc39728ad79ed8529fb1e839a4308a04899063b15766e5c5 - 59.53% (32.3 MB)

[#006] sha256:6f49734609eaf22338d74a996b70b90eedce01e1dff14c3dedd86e480b19b3da - 0.0% (303 Bytes)


History
2022-11-29 00:36:49 -0600 (buildkit.dockerfile.v0)

COPY /root-out/ / # buildkit

2022-11-29 00:36:50 -0600 (buildkit.dockerfile.v0)

ARG BUILD_DATE

2022-11-29 00:36:50 -0600 (buildkit.dockerfile.v0)

ARG VERSION

2022-11-29 00:36:50 -0600 (buildkit.dockerfile.v0)

LABEL build_version=Linuxserver.io version:- b01a8a64-ls35 Build-date:- 2022-11-29T00:35:38-06:00

2022-11-29 00:36:50 -0600 (buildkit.dockerfile.v0)

LABEL maintainer=TheLamer

2022-11-29 00:36:50 -0600 (buildkit.dockerfile.v0)

ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0

2022-11-29 00:36:50 -0600 (buildkit.dockerfile.v0)

RUN |2 BUILD_DATE=2022-11-29T00:35:38-06:00 VERSION=b01a8a64-ls35 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache bash ca-certificates coreutils curl 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

2022-11-29 00:36:50 -0600 (buildkit.dockerfile.v0)

COPY root/ / # buildkit

2022-11-29 00:36:50 -0600 (buildkit.dockerfile.v0)

ENTRYPOINT ["/init"]

2022-11-29 15:46:09 +0100 (buildkit.dockerfile.v0)

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

2022-11-29 15:46:09 +0100 (buildkit.dockerfile.v0)

COPY root/ / # buildkit

2022-11-29 15:46:09 +0100 (buildkit.dockerfile.v0)

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

2022-12-02 14:34:28 +0100 (buildkit.dockerfile.v0)

ARG BUILD_DATE

2022-12-02 14:34:28 +0100 (buildkit.dockerfile.v0)

ARG VERSION

2022-12-02 14:34:28 +0100 (buildkit.dockerfile.v0)

ARG NGINX_VERSION

2022-12-02 14:34:28 +0100 (buildkit.dockerfile.v0)

LABEL build_version=Linuxserver.io version:- 1.20.2-r1-ls202 Build-date:- 2022-12-02T14:33:18+01:00

2022-12-02 14:34:28 +0100 (buildkit.dockerfile.v0)

LABEL maintainer=aptalca

2022-12-02 14:34:28 +0100 (buildkit.dockerfile.v0)

ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2

2022-12-02 14:34:28 +0100 (buildkit.dockerfile.v0)

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

2022-12-02 14:34:28 +0100 (buildkit.dockerfile.v0)

COPY root/ / # buildkit

2022-12-02 14:34:28 +0100 (buildkit.dockerfile.v0)

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

2022-12-02 14:34:28 +0100 (buildkit.dockerfile.v0)

VOLUME [/config]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete