Skip to content
  Image Hubhardened-nginxecrImagesdynamic-distroless-glibc
icon
hardened-nginxdynamic-distroless-glibcHardened Icon
dynamic-distroless-glibc
dynamic-1.30-distroless-glibc
Image Digest:
Index digest:
Architecture
Compressed size
19.05 MBamd64
Last pushed
1 day agoNov 17, 2026
View on ecr
Parameter
Value
Shell
No
Package manager
—
User
appuser
Compressed size
19.05 MB
Environment variables
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Entrypoint
["/usr/sbin/nginx"]
CMD
["-g","daemon off;"]
Volumes
—
Working directory
/home/appuser
Stop signal
SIGQUIT

Raw Configuration

{
  "os": "linux",
  "config": {
    "Cmd": [
      "-g",
      "daemon off;"
    ],
    "Env": [
      "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    ],
    "User": "appuser",
    "Labels": {
      "maintainer": "BellSoft <[email protected]>",
      "org.opencontainers.image.authors": "BellSoft <[email protected]>",
      "org.opencontainers.image.description": "BellSoft Hardened Containers Stream (glibc) image with Nginx, distroless"
    },
    "Entrypoint": [
      "/usr/sbin/nginx"
    ],
    "StopSignal": "SIGQUIT",
    "WorkingDir": "/home/appuser"
  },
  "rootfs": {
    "type": "layers",
    "diff_ids": [
      "sha256:ddad941a16b20af49f394d410e71127e958e78117b9a32d649eb8f54fdab7f98"
    ]
  },
  "created": "2026-11-17T12:02:56.120066342Z",
  "history": [
    {
      "comment": "FROM docker.io/bellsoft/alpaquita-linux-base:glibc",
      "created": "2026-11-17T12:02:50.476956694Z",
      "created_by": "/bin/sh -c #(nop) ARG MAINTAINER",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:50.542078949Z",
      "created_by": "/bin/sh -c #(nop) ARG DESCRIPTION MAINTAINER",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:50.598882641Z",
      "created_by": "/bin/sh -c #(nop) LABEL maintainer=\"$MAINTAINER\"",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:50.683067304Z",
      "created_by": "/bin/sh -c #(nop) LABEL org.opencontainers.image.authors=\"$MAINTAINER\"",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:50.743882542Z",
      "created_by": "/bin/sh -c #(nop) LABEL org.opencontainers.image.description=\"$DESCRIPTION\"",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:51.434972477Z",
      "created_by": "|11 DESCRIPTION=BellSoft Hardened Containers Stream (glibc) image with Nginx, distroless MAINTAINER=BellSoft <[email protected]> /bin/sh -c mkdir -p /etc/nginx/http.d/",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:52.08343173Z",
      "created_by": "|11 DESCRIPTION=BellSoft Hardened Containers Stream (glibc) image with Nginx, distroless MAINTAINER=BellSoft <[email protected]> /bin/sh -c cat > /etc/nginx/http.d/default.conf.in <<EOF\nserver {\n    listen       %PORT%;\n    server_name  localhost;\n\n    location / {\n        root   %ROOT%;\n        index  index.html index.htm;\n    }\n\n    # redirect server error pages to the static page /50x.html\n    #\n    error_page   500 502 503 504  /50x.html;\n    location = /50x.html {\n        root   %ROOT%;\n    }\n}",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:54.943141489Z",
      "created_by": "|11 DESCRIPTION=BellSoft Hardened Containers Stream (glibc) image with Nginx, distroless MAINTAINER=BellSoft <[email protected]> /bin/sh -c <<EOF\nset -ex; command set -o pipefail\n    addgroup -g 10001 appuser\n    adduser -u 10001 -G appuser -D -h /home/appuser appuser\n    apk add --no-cache -u nginx-base\n    apk add --no-cache -u \\\n        nginx-base-mod-http-brotli \\\n        nginx-base-mod-http-geoip \\\n        nginx-base-mod-http-image-filter \\\n        nginx-base-mod-http-js \\\n        nginx-base-mod-http-xslt-filter \\\n        nginx-base-mod-stream-geoip \\\n        nginx-base-mod-stream-js\n    # forward logs to docker log collector\n    ln -sf /dev/stdout /var/log/nginx/access.log\n    ln -sf /dev/stderr /var/log/nginx/error.log\n    ln -sf /dev/stdout /var/log/nginx/stream.log\n    # explicitly specify a root directory for requests\n    NGINX_PREFIX=$(nginx -V 2>&1 | sed -nr '/^configure arguments:/s/.*--prefix=([^ ]+).*/\\1/p')\n    test -n \"$NGINX_PREFIX\"\n    sed -i \"s#%ROOT%#$NGINX_PREFIX/html#\" /etc/nginx/http.d/default.conf.in\n    sed -i \"s#%PORT%#8080#\" /etc/nginx/http.d/default.conf.in\n    # override default configuration\n    mv /etc/nginx/http.d/default.conf.in /etc/nginx/http.d/default.conf\n    # implement changes required to run nginx as an unprivileged user\n    sed -i 's#^user .*#pid /tmp/nginx.pid;#'                                  /etc/nginx/nginx.conf\n    sed -i '/^http {/s#$#\\n\\tscgi_temp_path        /tmp/scgi_temp;\\n#'     /etc/nginx/nginx.conf\n    sed -i '/^http {/s#$#\\n\\tuwsgi_temp_path       /tmp/uwsgi_temp;#'       /etc/nginx/nginx.conf\n    sed -i '/^http {/s#$#\\n\\tfastcgi_temp_path     /tmp/fastcgi_temp;#'     /etc/nginx/nginx.conf\n    sed -i '/^http {/s#$#\\n\\tclient_body_temp_path /tmp/client_body_temp;#' /etc/nginx/nginx.conf\n    sed -i '/^http {/s#$#\\n\\tproxy_temp_path       /tmp/proxy_temp;#'       /etc/nginx/nginx.conf\n    # initially access is denied for other users\n    chmod 755 \"$NGINX_PREFIX\"\n    apk add --no-cache -u ca-certificates-bundle\n    apk del --no-cache distro-release\n    apk add --no-cache -u hardened-release\n    apk del --no-cache distro-keys\n    rm /etc/apk/repositories\n    apk add -t /bin/sh\n    scripts_tar=/var/lib/apk/db/scripts.tar\n    [ -e \"${scripts_tar}.gz\" ] && compressed=\"yes\"\n    [ \"$compressed\" = \"yes\" ] && gunzip \"${scripts_tar}.gz\"\n    mkdir /tmp/scripts\n    tar -xf \"$scripts_tar\" -C /tmp/scripts\n    cd /tmp/scripts\n    tar -cf \"$scripts_tar\" --exclude 'busybox-*' *\n    cd -\n    rm -rf /tmp/scripts\n    [ \"$compressed\" = \"yes\" ] && gzip \"$scripts_tar\"\n    for ex in $(busybox --list-full); do [ -L \"/${ex}\" ] && busybox rm \"/${ex}\"; done\n    apk del --no-cache busybox libc-utils apk-tools",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:55.027432572Z",
      "created_by": "/bin/sh -c #(nop) WORKDIR /home/appuser",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:55.292439288Z",
      "created_by": "/bin/sh -c #(nop) USER appuser",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:55.590832261Z",
      "created_by": "/bin/sh -c #(nop) ENTRYPOINT [ \"/usr/sbin/nginx\" ]",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:55.848878017Z",
      "created_by": "/bin/sh -c #(nop) CMD [ \"-g\", \"daemon off;\" ]",
      "empty_layer": true
    },
    {
      "created": "2026-11-17T12:02:56.692265593Z",
      "created_by": "/bin/sh -c #(nop) STOPSIGNAL SIGQUIT"
    }
  ],
  "architecture": "amd64"
}