docker.io/jetsung/nginx-php:8.1 linux/amd64

docker.io/jetsung/nginx-php:8.1 - 国内下载镜像源 浏览次数:34
源镜像 docker.io/jetsung/nginx-php:8.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1
镜像ID sha256:dd028f57859ec52d6fd63ab7cfb368884c11d78ebe473517b3423dbcb0b142ea
镜像TAG 8.1
大小 627.16MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD -D
启动入口 /app/entrypoint.sh
工作目录 /app
OS/平台 linux/amd64
浏览量 34 次
贡献者
镜像创建 2024-11-22T11:36:49.264900038Z
同步时间 2025-01-15 20:14
更新时间 2025-01-18 11:00
开放端口
443/tcp 80/tcp 9000/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGX_WWW_ROOT=/data/wwwroot NGX_LOG_ROOT=/data/wwwlogs TMP=/tmp/nginx-php/ DEBIAN_FRONTEND=noninteractive
镜像标签
Jetsung Chan<jetsungchan@gmail.com>: maintainer ubuntu: org.opencontainers.image.ref.name 20.04: org.opencontainers.image.version

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1  docker.io/jetsung/nginx-php:8.1

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1  docker.io/jetsung/nginx-php:8.1

Shell快速替换命令

sed -i 's#jetsung/nginx-php:8.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1  docker.io/jetsung/nginx-php:8.1'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1  docker.io/jetsung/nginx-php:8.1'

镜像构建历史


# 2024-11-22 19:36:49  0.00B 设置默认要执行的命令
CMD ["-D"]
                        
# 2024-11-22 19:36:49  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/app/entrypoint.sh"]
                        
# 2024-11-22 19:36:49  1.23KB 执行命令并创建新的镜像层
RUN |2 NGINX_VERSION=1.26.2 PHP_VERSION=8.1.31 /bin/sh -c chown -R www:www "${NGX_WWW_ROOT}" ;   chmod +x /app/entrypoint.sh # buildkit
                        
# 2024-11-22 19:36:49  1.19KB 复制新文件或目录到容器中
COPY entrypoint.sh /app # buildkit
                        
# 2024-11-22 19:36:49  504.00B 复制新文件或目录到容器中
COPY supervisord /etc/supervisor/conf.d/ # buildkit
                        
# 2024-11-22 19:36:49  42.00B 复制新文件或目录到容器中
COPY www /data/wwwroot # buildkit
                        
# 2024-11-22 19:36:49  1.34KB 复制新文件或目录到容器中
COPY vhost /usr/local/nginx/conf/vhost/ # buildkit
                        
# 2024-11-22 19:36:49  926.00B 复制新文件或目录到容器中
COPY nginx.conf /usr/local/nginx/conf/ # buildkit
                        
# 2024-11-22 19:36:49  0.00B 声明容器运行时监听的端口
EXPOSE map[443/tcp:{} 80/tcp:{} 9000/tcp:{}]
                        
# 2024-11-22 19:36:49  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2024-11-22 19:36:49  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/wwwroot /data/wwwlogs]
                        
# 2024-11-22 19:36:49  554.34MB 执行命令并创建新的镜像层
RUN |2 NGINX_VERSION=1.26.2 PHP_VERSION=8.1.31 /bin/sh -c set -eux   ;   apt-get update -y ;   pkgList="apt-utils zlib1g zlib1g-dev openssl libsqlite3-dev libxml2 libxml2-dev libcurl3-gnutls libcurl4-gnutls-dev libcurl4-openssl-dev libpng-dev libjpeg8 libjpeg8-dev libargon2-1 libargon2-dev libicu-dev libxslt1-dev libzip-dev libssl-dev libfreetype-dev libfreetype6 libpq-dev libpq5 libpcre3 libpcre3-dev libsodium-dev" ;   for Package in ${pkgList}; do   apt-get install -y --no-install-recommends ${Package} ;   done ;   apt-get install -y --no-install-recommends   ca-certificates   gcc   g++   make   cmake   autoconf   pkg-config   libtool   apt-utils   curl   supervisor ;   mkdir -p "${TMP}" && cd "${TMP}" ;   curl -Lk --retry 3 "https://github.com/kkos/oniguruma/releases/download/v6.9.7.1/onig-6.9.7.1.tar.gz" | gunzip | tar x   ;   curl -Lk --retry 3 https://pecl.php.net/get/redis-5.3.7.tgz | gunzip | tar x   ;   curl -Lk --retry 3 "https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" | gunzip | tar x   ;   curl -Lk --retry 3 "https://php.net/distributions/php-${PHP_VERSION}.tar.gz" | gunzip | tar x   ;   cd onig-6.9.7 ;   ./configure --prefix=/usr ;   make && make install ;   cd .. ;   cd "php-${PHP_VERSION}" ;   export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/ ;   ./configure --prefix=/usr/local/php/   --with-config-file-path=/usr/local/php/etc/   --with-config-file-scan-dir=/usr/local/php/etc/php.d/   --with-fpm-user=www   --with-fpm-group=www   --with-mysqli=mysqlnd   --with-pdo-mysql=mysqlnd   --with-pgsql   --with-pdo-pgsql   --with-zip=/usr/local   --with-sodium   --with-openssl   --with-iconv   --with-zlib   --with-gettext   --with-curl   --with-freetype   --with-jpeg   --with-mhash   --with-xsl   --with-password-argon2   --enable-fpm   --enable-xml   --enable-shmop   --enable-sysvsem   --enable-mbregex   --enable-mbstring   --enable-ftp   --enable-mysqlnd   --enable-pcntl   --enable-sockets   --enable-soap   --enable-session   --enable-bcmath   --enable-exif   --enable-intl   --enable-fileinfo   --enable-gd   --enable-ipv6   --disable-opcache   --disable-rpath   --disable-debug   --without-pear   ;   make && make install ;   mkdir /usr/local/php/etc/php.d/ ;   cp php.ini-production /usr/local/php/etc/php.ini ;   cp /usr/local/php/etc/php-fpm.conf.default /usr/local/php/etc/php-fpm.conf ;   cp /usr/local/php/etc/php-fpm.d/www.conf.default /usr/local/php/etc/php-fpm.d/www.conf ;   ln -s /usr/local/php/bin/* /bin/ ;   ln -s /usr/local/php/sbin/* /bin/ ;   cd .. ;   php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" ;   php composer-setup.php ;   php -r "unlink('composer-setup.php');" ;   mv composer.phar /usr/local/bin/composer ;   chmod +x /usr/local/bin/composer ;   EXTENSION_DIR=$(php-config --extension-dir) ;   cd redis-5.3.7 ;   phpize ;   ./configure --with-php-config=/usr/local/php/bin/php-config ;   make && make install ;   if [ -f "${EXTENSION_DIR}/redis.so" ]; then   echo 'extension=redis.so' > /usr/local/php/etc/php.d/05-redis.ini ;   fi ;   cd .. ;   cd "nginx-${NGINX_VERSION}" ;   ./configure --prefix=/usr/local/nginx   --user=www --group=www   --error-log-path="${NGX_LOG_ROOT}/nginx_error.log"   --http-log-path="${NGX_LOG_ROOT}/nginx_access.log"   --pid-path=/var/run/nginx.pid   --with-pcre   --with-http_ssl_module   --with-http_v2_module   --without-mail_pop3_module   --without-mail_imap_module   --with-http_gzip_static_module   ;   make && make install ;   ln -s /usr/local/nginx/sbin/* /bin/ ;   useradd -r -s /sbin/nologin -d "${NGX_WWW_ROOT}" -m -k no www ;   cd / ;   rm -rf "${TMP}" ;   apt-get remove -y gcc   g++   autoconf   automake   libtool   make   cmake   ;   apt-get autoremove -y ;   apt-get autoclean -y ;   apt-get clean -y ;   rm -rf /var/lib/apt/lists/* ;   find /var/log -type f -delete # buildkit
                        
# 2024-11-22 19:26:31  0.00B 执行命令并创建新的镜像层
RUN |2 NGINX_VERSION=1.26.2 PHP_VERSION=8.1.31 /bin/sh -c mkdir -p /data/{wwwroot,wwwlogs,} # buildkit
                        
# 2024-11-22 19:26:31  0.00B 设置环境变量 DEBIAN_FRONTEND
ENV DEBIAN_FRONTEND=noninteractive
                        
# 2024-11-22 19:26:31  0.00B 设置环境变量 TMP
ENV TMP=/tmp/nginx-php/
                        
# 2024-11-22 19:26:31  0.00B 设置环境变量 NGX_LOG_ROOT
ENV NGX_LOG_ROOT=/data/wwwlogs
                        
# 2024-11-22 19:26:31  0.00B 设置环境变量 NGX_WWW_ROOT
ENV NGX_WWW_ROOT=/data/wwwroot
                        
# 2024-11-22 19:26:31  0.00B 定义构建参数
ARG PHP_VERSION=8.1.31
                        
# 2024-11-22 19:26:31  0.00B 定义构建参数
ARG NGINX_VERSION=1.26.2
                        
# 2024-11-22 19:26:31  0.00B 添加元数据标签
LABEL maintainer=Jetsung Chan<jetsungchan@gmail.com>
                        
# 2024-10-11 11:38:27  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-10-11 11:38:27  72.81MB 
/bin/sh -c #(nop) ADD file:7486147a645d8835a5181c79f00a3606c6b714c83bcbfcd8862221eb14690f9e in / 
                        
# 2024-10-11 11:38:25  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=20.04
                        
# 2024-10-11 11:38:25  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-10-11 11:38:25  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-10-11 11:38:25  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:dd028f57859ec52d6fd63ab7cfb368884c11d78ebe473517b3423dbcb0b142ea",
    "RepoTags": [
        "jetsung/nginx-php:8.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.1"
    ],
    "RepoDigests": [
        "jetsung/nginx-php@sha256:7bd3a19c027f69ba377d09852483b328901a6b05ca18e52e2ef9853e1946d0e0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php@sha256:27203789c72f2b0778be17fe1a1290fc0394602eeeb5d271ad8f738f8931cb30"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-22T11:36:49.264900038Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "443/tcp": {},
            "80/tcp": {},
            "9000/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NGX_WWW_ROOT=/data/wwwroot",
            "NGX_LOG_ROOT=/data/wwwlogs",
            "TMP=/tmp/nginx-php/",
            "DEBIAN_FRONTEND=noninteractive"
        ],
        "Cmd": [
            "-D"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data/wwwlogs": {},
            "/data/wwwroot": {}
        },
        "WorkingDir": "/app",
        "Entrypoint": [
            "/app/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "Jetsung Chan\u003cjetsungchan@gmail.com\u003e",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "20.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 627158244,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/53c83560aaffcff9c8f0798a749b513e4234b9ca4a714fbf685c5c2174030967/diff:/var/lib/docker/overlay2/626ef0c3a607e33ece46ac948cda2e2f6488f711cec8fadae7a5c958c795f3e4/diff:/var/lib/docker/overlay2/9c7752261aeed13bfab2edf2b0c426938f1d06ae2744c0340299e4a5e7e5b270/diff:/var/lib/docker/overlay2/804f88991d79a3decbdbf6055a17c9a79904f790faaa4122d4e935d663360f23/diff:/var/lib/docker/overlay2/cdd952e9a10469aa07dc8f7f53312f4adffa7efa42702212862755ec8dd508cf/diff:/var/lib/docker/overlay2/4fa49b6df5c57f66d295a7673fe69acc43c5a0ec5662d3db9c171924116ea87d/diff:/var/lib/docker/overlay2/ce36c8bb28fd23c613ed2e5e1a6e44261ede371a8babc722b21b09fa9138551f/diff:/var/lib/docker/overlay2/07df54193e95d6f11280f4d088915b9bad77201d64e8e1ae76a41c6b70f46426/diff:/var/lib/docker/overlay2/364ee650fcb55abc90ea2c6b6b0e7b00ae28674a17a09f26a611d7681de96bc4/diff",
            "MergedDir": "/var/lib/docker/overlay2/a061a488c699887846651d10f71909663a43f9f30be4096b13e454a0f43a0723/merged",
            "UpperDir": "/var/lib/docker/overlay2/a061a488c699887846651d10f71909663a43f9f30be4096b13e454a0f43a0723/diff",
            "WorkDir": "/var/lib/docker/overlay2/a061a488c699887846651d10f71909663a43f9f30be4096b13e454a0f43a0723/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:fffe76c64ef2dee2d80a8bb3ad13d65d596d04a45510b1956a976a69215dae92",
            "sha256:1bfd7ac581945d579404ddd35f2ace9bfce45a55cd01cfb1a745bb1cc177e71a",
            "sha256:c3517990e8220c312f2bc7b50e0c6f0988e303ba84d2b5d6ddc20c9a5adc5e84",
            "sha256:ff8e2bad7f850185fbe1cabb7d893642b801cfefba7f1fc4de3b51be00949fd3",
            "sha256:0efe66c296708c3fff52137a62678acd4b8500fff2a660b8932e3003c650b516",
            "sha256:3afa2540262706f4f50b633cc8c845c5d7fdbadf3a39a97e471de3852cb8171c",
            "sha256:c2a99c58889aa2f629cc42aa2d9099d024bd1ee508fc0f4db64132dcc655562f",
            "sha256:28ae12d25f8710ff69b12eda15c20c67dbb3d2bc17a2817333c5c8c88ec138df",
            "sha256:93a2153003b196bc985e68c83f0997b71b1156197d1a614e49522dcea8bcf709",
            "sha256:43fd72a8bc3a4cb464aaf7790b0633c05df3be977d440e5fc36db678b36047dd"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-15T20:14:24.38639577+08:00"
    }
}

更多版本

docker.io/jetsung/nginx-php:8.1

linux/amd64 docker.io627.16MB2025-01-15 20:14
33

docker.io/jetsung/nginx-php:8.2

linux/amd64 docker.io526.31MB2025-01-16 13:47
20