docker.io/nickblah/postgis:12-bullseye-postgis-3 linux/arm64

docker.io/nickblah/postgis:12-bullseye-postgis-3 - 国内下载镜像源 浏览次数:54 温馨提示: 这是一个 linux/arm64 系统架构镜像
PostGIS是Geospatial Database Add-on for PostgreSQL,用于存储和处理地理数据。这个镜像提供了一个带有PostGIS扩展功能的PostgreSQL环境。
源镜像 docker.io/nickblah/postgis:12-bullseye-postgis-3
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64
镜像ID sha256:82f013e1617259fbe95ce25dbf4984677e03d6eec16d2e26b7b21553b95170dc
镜像TAG 12-bullseye-postgis-3-linuxarm64
大小 552.83MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/arm64
浏览量 54 次
贡献者
镜像创建 2024-07-03T04:11:03.594205767Z
同步时间 2024-10-14 09:12
更新时间 2024-11-21 12:46
开放端口
5432/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/12/bin GOSU_VERSION=1.17 LANG=en_US.utf8 PG_MAJOR=12 PG_VERSION=12.19-1.pgdg110+1 PGDATA=/var/lib/postgresql/data POSTGIS_MAJOR=3 POSTGIS_VERSION=3.4.2+dfsg-1.pgdg110+1
镜像标签
MIT: org.opencontainers.image.licenses https://github.com/GUI/postgis-docker: org.opencontainers.image.source

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64  docker.io/nickblah/postgis:12-bullseye-postgis-3

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64  docker.io/nickblah/postgis:12-bullseye-postgis-3

Shell快速替换命令

sed -i 's#nickblah/postgis:12-bullseye-postgis-3#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64  docker.io/nickblah/postgis:12-bullseye-postgis-3'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64  docker.io/nickblah/postgis:12-bullseye-postgis-3'

镜像历史

大小 创建时间 层信息
0.00B 2024-07-03 12:11:03 LABEL org.opencontainers.image.source=https://github.com/GUI/postgis-docker org.opencontainers.image.licenses=MIT
182.59MB 2024-07-03 12:11:03 RUN /bin/sh -c apt-get update && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR && apt-get install -y --no-install-recommends postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=$POSTGIS_VERSION postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts=$POSTGIS_VERSION postgis && rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-07-03 12:11:03 ENV POSTGIS_MAJOR=3 POSTGIS_VERSION=3.4.2+dfsg-1.pgdg110+1
0.00B 2024-05-10 02:02:23 CMD ["postgres"]
0.00B 2024-05-10 02:02:23 EXPOSE map[5432/tcp:{}]
0.00B 2024-05-10 02:02:23 STOPSIGNAL SIGINT
0.00B 2024-05-10 02:02:23 ENTRYPOINT ["docker-entrypoint.sh"]
23.00B 2024-05-10 02:02:23 RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
14.96KB 2024-05-10 02:02:23 COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
0.00B 2024-05-10 02:02:23 VOLUME [/var/lib/postgresql/data]
0.00B 2024-05-10 02:02:23 RUN /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA" # buildkit
0.00B 2024-05-10 02:02:23 ENV PGDATA=/var/lib/postgresql/data
0.00B 2024-05-10 02:02:23 RUN /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql # buildkit
53.99KB 2024-05-10 02:02:23 RUN /bin/sh -c set -eux; dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample # buildkit
254.35MB 2024-05-10 02:02:23 RUN /bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR"; case "$dpkgArch" in amd64 | arm64 | ppc64el | s390x) echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src $aptRepo" > /etc/apt/sources.list.d/pgdg.list; savedAptMark="$(apt-mark showmanual)"; tempDir="$(mktemp -d)"; cd "$tempDir"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; _update_repo() { dpkg-scanpackages . > Packages; apt-get -o Acquire::GzipIndexes=false update; }; _update_repo; nproc="$(nproc)"; export DEB_BUILD_OPTIONS="nocheck parallel=$nproc"; apt-get build-dep -y postgresql-common pgdg-keyring; apt-get source --compile postgresql-common pgdg-keyring; _update_repo; apt-get build-dep -y "postgresql-$PG_MAJOR=$PG_VERSION"; apt-get source --compile "postgresql-$PG_MAJOR=$PG_VERSION"; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; _update_repo; grep '^Package: ' Packages; cd /; ;; esac; apt-get install -y --no-install-recommends postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y --no-install-recommends "postgresql-$PG_MAJOR=$PG_VERSION" ; rm -rf /var/lib/apt/lists/*; if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove; rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi; find /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S "$pyc" &> /dev/null || rm -vf "$pyc"; done' -- '{}' +; postgres --version # buildkit
0.00B 2024-05-10 02:02:23 ENV PG_VERSION=12.19-1.pgdg110+1
0.00B 2024-05-10 02:02:23 ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/12/bin
0.00B 2024-05-10 02:02:23 ENV PG_MAJOR=12
3.98KB 2024-05-10 02:02:23 RUN /bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; mkdir -p /usr/local/share/keyrings/; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export --armor "$key" > /usr/local/share/keyrings/postgres.gpg.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" # buildkit
0.00B 2024-05-10 02:02:23 RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2.39MB 2024-05-10 02:02:23 RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper xz-utils zstd ; rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-05-10 02:02:23 ENV LANG=en_US.utf8
25.10MB 2024-05-10 02:02:23 RUN /bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen; locale-gen; locale -a | grep 'en_US.utf8' # buildkit
4.28MB 2024-05-10 02:02:23 RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
0.00B 2024-05-10 02:02:23 ENV GOSU_VERSION=1.17
9.26MB 2024-05-10 02:02:23 RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends gnupg less ; rm -rf /var/lib/apt/lists/* # buildkit
331.17KB 2024-05-10 02:02:23 RUN /bin/sh -c set -eux; groupadd -r postgres --gid=999; useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql # buildkit
0.00B 2024-05-10 02:02:23 /bin/sh -c #(nop) CMD ["bash"]
74.46MB 2024-05-10 02:02:23 /bin/sh -c #(nop) ADD file:17d80cdc7d7b37786a32ac4e261c7d17cd4d80248ae39f9574ab5a6bf6a2707c in /

镜像信息

{
    "Id": "sha256:82f013e1617259fbe95ce25dbf4984677e03d6eec16d2e26b7b21553b95170dc",
    "RepoTags": [
        "nickblah/postgis:12-bullseye-postgis-3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis:12-bullseye-postgis-3-linuxarm64"
    ],
    "RepoDigests": [
        "nickblah/postgis@sha256:105054c7111a9759ade9ecad0e800fb4f76224b26c65f31594a1e33064aa8777",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nickblah/postgis@sha256:e46c94caa5b2d3b34316dedea5817a77a083b41432f1cb3b60ae969cbcb6b52d"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-03T04:11:03.594205767Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5432/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/12/bin",
            "GOSU_VERSION=1.17",
            "LANG=en_US.utf8",
            "PG_MAJOR=12",
            "PG_VERSION=12.19-1.pgdg110+1",
            "PGDATA=/var/lib/postgresql/data",
            "POSTGIS_MAJOR=3",
            "POSTGIS_VERSION=3.4.2+dfsg-1.pgdg110+1"
        ],
        "Cmd": [
            "postgres"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.licenses": "MIT",
            "org.opencontainers.image.source": "https://github.com/GUI/postgis-docker"
        },
        "StopSignal": "SIGINT"
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 552832355,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/cf74804ab9e56f8d100f14977f4a84a62ca2e63a5359ccf3fa72a8c1bf822802/diff:/var/lib/docker/overlay2/a9d93535c1eeaa59b6ad3ae2569e933735b369e5b4274e8ef40401466042a791/diff:/var/lib/docker/overlay2/bc5b142c01a92bbdc6b8eb973d8726993f38b46b3f312e691594642056e3999d/diff:/var/lib/docker/overlay2/38598f554fbfdf0487d0fead8002f5f292cd2cf94bf1b56ca4e1478aa49d6d86/diff:/var/lib/docker/overlay2/cae25749499d9111509c257c56639651f588399f6a03cc307bfb24342c25d3b8/diff:/var/lib/docker/overlay2/0104656e6e3cba52c577325eb7547ed2cb3142cdaef6eccddcca73aeb49aa11e/diff:/var/lib/docker/overlay2/d1d873ec4c54eee5ff3720edfdf2ba690fa9df905a1e41d5573e5329f19e2675/diff:/var/lib/docker/overlay2/579c1e04cba7f372b9b39fcf8951de0704b2a6383930e3c860918b8e25eea182/diff:/var/lib/docker/overlay2/48538aad6e150f97397988e8fafb36e142d5b7b605e027f1e1e0a499662b9ae2/diff:/var/lib/docker/overlay2/c03955b55b413d696597d8371cc76b026b8cb72ff75960acd873e67a2960b848/diff:/var/lib/docker/overlay2/aeca4ec4cead4afaa5d026e4329d6d1b0767edf1191e1dae8db636c9a412b2e9/diff:/var/lib/docker/overlay2/0e108839b59e98decc56ace066fa3da4046b921a97f8eb360003b6fb219d7a55/diff:/var/lib/docker/overlay2/b4f5679c6845fb202bfd6cc3b66b9d88d80a2fae9b7b1e5f70db216e11af78fc/diff:/var/lib/docker/overlay2/a3b4b5ac8414cb7faa4cad1a96c41a1948138cc7c4a67ab59e2d6b50e9c92c43/diff",
            "MergedDir": "/var/lib/docker/overlay2/481d6106916c5d34c8f1b8384da5d3d9f587ff8072396f03ac04befde9d42c6e/merged",
            "UpperDir": "/var/lib/docker/overlay2/481d6106916c5d34c8f1b8384da5d3d9f587ff8072396f03ac04befde9d42c6e/diff",
            "WorkDir": "/var/lib/docker/overlay2/481d6106916c5d34c8f1b8384da5d3d9f587ff8072396f03ac04befde9d42c6e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:5899df0d36018878d98f17c0af3920108199d573aca517cbd1bc4ec9e4dd616d",
            "sha256:c0155c33a9440556983e64045fd3a86bdd9999fdab97d1035a04abbda2983aa7",
            "sha256:05993b96da7299cf78a484373b66e5e5ace944630a797c5789439b771880a0ea",
            "sha256:c4d44ba2d6fb73a350e5a6bf91abb678fc0648a013a8beafce563f413287dce2",
            "sha256:fe7418a2168580f8075ac3d9dcb5ae84fe783386d75b83f2d04abf8794843b55",
            "sha256:f201e6e635d5954a0ae56aa31d946b462ae222efbc8cc135c757aaa48e896ed3",
            "sha256:2df2e11685b7a1f218a5e1344fa13999347253f16c0206faceff586309bae183",
            "sha256:441f832a7f1d7940999e5bd2c64eece36c516ecb300605f50984c03a80d4fcd4",
            "sha256:7bd71b22624a3c17e10931622675b9b2e6306737027a8dfd515abeb9c23f8439",
            "sha256:2748c36170821cdc37c24080c03800e4c6539c10f301f0c1a341db86049b3085",
            "sha256:f6e18c8106466947e4e016c95ed76f77f731397b39918749ce7ff97610ed98fb",
            "sha256:7d0d0ab48aa2a8a8dbca6481026c445187ad749d112bb5532638588c9a8f69ca",
            "sha256:94f98c9da61e430c96089fe467c477e4106948cac8893798498189a30da928e8",
            "sha256:e1cb2fd9f56ce67b810c2d2f7910cf1219730fce1fc3bb4e42bafca14baa92e9",
            "sha256:7815dc0c44ed9fbd55c268dd1295fd3f37d9bb8897a2b9c5e85419fc09d0cc2a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-14T09:11:57.413098926+08:00"
    }
}

更多版本

docker.io/nickblah/postgis:12-bullseye-postgis-3

linux/arm64 docker.io552.83MB2024-10-14 09:12
53