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

docker.io/jetsung/nginx-php:8.2 - 国内下载镜像源 浏览次数:19
源镜像 docker.io/jetsung/nginx-php:8.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.2
镜像ID sha256:f00a6f6763416fc2b5269df0dd711706868b7644d69f05feb2e51cd8723f8b21
镜像TAG 8.2
大小 526.31MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD -D
启动入口 /app/entrypoint.sh
工作目录 /app
OS/平台 linux/amd64
浏览量 19 次
贡献者
镜像创建 2024-12-20T15:03:27.959068911Z
同步时间 2025-01-16 13:47
更新时间 2025-01-18 09:36
开放端口
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 24.04: org.opencontainers.image.version

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#jetsung/nginx-php:8.2#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.2#' 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.2 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.2  docker.io/jetsung/nginx-php:8.2'

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-12-20 23:03:27  0.00B 设置默认要执行的命令
CMD ["-D"]
                        
# 2024-12-20 23:03:27  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/app/entrypoint.sh"]
                        
# 2024-12-20 23:03:27  1.23KB 执行命令并创建新的镜像层
RUN |2 NGINX_VERSION=1.26.2 PHP_VERSION=8.2.27 /bin/sh -c chown -R www:www "${NGX_WWW_ROOT}" ;   chmod +x /app/entrypoint.sh # buildkit
                        
# 2024-12-20 23:03:27  1.19KB 复制新文件或目录到容器中
COPY entrypoint.sh /app # buildkit
                        
# 2024-12-20 23:03:27  504.00B 复制新文件或目录到容器中
COPY supervisord /etc/supervisor/conf.d/ # buildkit
                        
# 2024-12-20 23:03:27  42.00B 复制新文件或目录到容器中
COPY www /data/wwwroot # buildkit
                        
# 2024-12-20 23:03:27  1.34KB 复制新文件或目录到容器中
COPY vhost /usr/local/nginx/conf/vhost/ # buildkit
                        
# 2024-12-20 23:03:27  926.00B 复制新文件或目录到容器中
COPY nginx.conf /usr/local/nginx/conf/ # buildkit
                        
# 2024-12-20 23:03:27  0.00B 声明容器运行时监听的端口
EXPOSE map[443/tcp:{} 80/tcp:{} 9000/tcp:{}]
                        
# 2024-12-20 23:03:27  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2024-12-20 23:03:27  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/wwwroot /data/wwwlogs]
                        
# 2024-12-20 23:03:27  448.18MB 执行命令并创建新的镜像层
RUN |2 NGINX_VERSION=1.26.2 PHP_VERSION=8.2.27 /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.9/onig-6.9.9.tar.gz" | gunzip | tar x   ;   curl -Lk --retry 3 https://pecl.php.net/get/redis-6.1.0.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.9 ;   ./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-6.1.0 ;   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-12-20 22:54:20  0.00B 执行命令并创建新的镜像层
RUN |2 NGINX_VERSION=1.26.2 PHP_VERSION=8.2.27 /bin/sh -c mkdir -p /data/{wwwroot,wwwlogs,} # buildkit
                        
# 2024-12-20 22:54:20  0.00B 设置环境变量 DEBIAN_FRONTEND
ENV DEBIAN_FRONTEND=noninteractive
                        
# 2024-12-20 22:54:20  0.00B 设置环境变量 TMP
ENV TMP=/tmp/nginx-php/
                        
# 2024-12-20 22:54:20  0.00B 设置环境变量 NGX_LOG_ROOT
ENV NGX_LOG_ROOT=/data/wwwlogs
                        
# 2024-12-20 22:54:20  0.00B 设置环境变量 NGX_WWW_ROOT
ENV NGX_WWW_ROOT=/data/wwwroot
                        
# 2024-12-20 22:54:20  0.00B 定义构建参数
ARG PHP_VERSION=8.2.27
                        
# 2024-12-20 22:54:20  0.00B 定义构建参数
ARG NGINX_VERSION=1.26.2
                        
# 2024-12-20 22:54:20  0.00B 添加元数据标签
LABEL maintainer=Jetsung Chan<jetsungchan@gmail.com>
                        
# 2024-11-20 01:29:25  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-11-20 01:29:25  78.12MB 
/bin/sh -c #(nop) ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in / 
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:f00a6f6763416fc2b5269df0dd711706868b7644d69f05feb2e51cd8723f8b21",
    "RepoTags": [
        "jetsung/nginx-php:8.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php:8.2"
    ],
    "RepoDigests": [
        "jetsung/nginx-php@sha256:3df3db3a7aaf17a97ac99d84dc836755a0ec3e1f09cd7ae98c9da072149300c2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jetsung/nginx-php@sha256:94e0497cb5c3144468f222483ad28c614b6947cb09a09ac11973e0a87c92f206"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-20T15:03:27.959068911Z",
    "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": "24.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 526306355,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/65d0b7f3f14b2016a9c03ce74bf3bd850b21a94f3030d604c368282dcc62824e/diff:/var/lib/docker/overlay2/3d00ac93c03bdb9abbfe92a1f0a616fd1eec73360f2c91d03285bcf82027120c/diff:/var/lib/docker/overlay2/a3e5b6f7ac8e2ba6a85f24bd880171d4efddd24d429730d0f7b0b523545ece0c/diff:/var/lib/docker/overlay2/e426293f4fb3909ef7dbb936e29bf7f5871ab42d36d85b39dbc4432bf676bba7/diff:/var/lib/docker/overlay2/4fb75773705f05da909d9e890ecc4c90f79899dab6e30190c5fc78d605c40bdc/diff:/var/lib/docker/overlay2/3deadf89c4b00f87060441d9167bb32a2b857d8d4e5365fabdde7301ee83632d/diff:/var/lib/docker/overlay2/69488306053a1b0443ed1e93624782f1ca876582cc87711953dbd4b453ac1e7d/diff:/var/lib/docker/overlay2/e006e73fa534f58f2017bf156ec581427d622af7ddb9f267a4704c3752960d8b/diff:/var/lib/docker/overlay2/dd9c6c06cee7cbeacd7427404922c280abf5a7156d6a8d1736426b0776ed9b6a/diff",
            "MergedDir": "/var/lib/docker/overlay2/a0e1fa4a90fb193e128f4a592ea39d6897cb09a04f1bb9cfc6913f674017e0a1/merged",
            "UpperDir": "/var/lib/docker/overlay2/a0e1fa4a90fb193e128f4a592ea39d6897cb09a04f1bb9cfc6913f674017e0a1/diff",
            "WorkDir": "/var/lib/docker/overlay2/a0e1fa4a90fb193e128f4a592ea39d6897cb09a04f1bb9cfc6913f674017e0a1/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:687d50f2f6a697da02e05f2b2b9cb05c1d551f37c404ebe55fdec44b0ae8aa5c",
            "sha256:5dcb3f61908c75997c9e03074d801dcc95a41ab6ed3b0d53d39923ca1555814d",
            "sha256:aab9779973fb9c5954533b2f306379e4517af43f898fc011a86bb9fe68bf849f",
            "sha256:57eb106768fe2ade4757ee79d4b6d2775eba587b311cfce14acd60d3a60f26db",
            "sha256:377f7db15d96fbd138e66356a238f8c0551cd4bfce5be108ca0df603b4066521",
            "sha256:82d0c617ad9b3b0300d9353245fd3bc07119ba6eefd2013d8ea5774984577fd5",
            "sha256:d48a9fe3e40597b65801c6bcf81e057389a6d92aea399e5eedd4f9b2e28f84b1",
            "sha256:62b93ab56cf4622d9875d437186e2733d18d534223663dd59d1ac3c903bc9737",
            "sha256:f5cdfcf56050de699122c203dd12765e7a14235455ddfed7cd08730dab3c882f",
            "sha256:4c8e75b437f0cf45b33e66f161bbb50d9339d55df84d142cf3e017f474a8ecb7"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-16T13:46:44.863675136+08:00"
    }
}

更多版本

docker.io/jetsung/nginx-php:8.1

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

docker.io/jetsung/nginx-php:8.2

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