镜像构建历史
# 2024-09-19 23:33:14 0.00B 设置默认要执行的命令
CMD ["/app/docker-entrypoint.sh"]
# 2024-09-19 23:33:14 0.00B 声明容器运行时监听的端口
EXPOSE map[80/tcp:{}]
# 2024-09-19 23:33:14 906.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /app/ # buildkit
# 2024-09-19 23:33:14 0.00B 设置工作目录为/app/nocobase
WORKDIR /app/nocobase
# 2024-09-19 23:33:14 94.04MB 复制新文件或目录到容器中
COPY /app/nocobase.tar.gz /app/nocobase.tar.gz # buildkit
# 2024-09-19 23:30:59 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c rm -rf /etc/nginx/sites-enabled/default # buildkit
# 2024-09-19 23:30:59 83.14MB 执行命令并创建新的镜像层
RUN /bin/sh -c ARCH= && dpkgArch="$(dpkg --print-architecture)" && case "${dpkgArch##*-}" in amd64) ARCH='x64';; ppc64el) ARCH='ppc64le';; s390x) ARCH='s390x';; arm64) ARCH='arm64';; armhf) ARCH='armv7l';; i386) ARCH='x86';; *) echo "unsupported architecture"; exit 1 ;; esac && set -ex && apt-get update && apt-get install -y nginx # buildkit
# 2024-07-09 13:33:43 0.00B 设置默认要执行的命令
CMD ["node"]
# 2024-07-09 13:33:43 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
# 2024-07-09 13:33:43 388.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
# 2024-07-09 13:33:43 7.22MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr --no-install-recommends && rm -rf /var/lib/apt/lists/* && export GNUPGHOME="$(mktemp -d)" && for key in 6A010C5166006599AA17F08146C2130DFD2497F5 ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && gpgconf --kill all && rm -rf "$GNUPGHOME" && mkdir -p /opt && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && apt-mark auto '.*' > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; } && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && yarn --version && rm -rf /tmp/* # buildkit
# 2024-07-09 13:33:43 0.00B 设置环境变量 YARN_VERSION
ENV YARN_VERSION=1.22.19
# 2024-07-09 13:33:43 110.07MB 执行命令并创建新的镜像层
RUN /bin/sh -c ARCH= OPENSSL_ARCH= && dpkgArch="$(dpkg --print-architecture)" && case "${dpkgArch##*-}" in amd64) ARCH='x64' OPENSSL_ARCH='linux-x86_64';; ppc64el) ARCH='ppc64le' OPENSSL_ARCH='linux-ppc64le';; s390x) ARCH='s390x' OPENSSL_ARCH='linux*-s390x';; arm64) ARCH='arm64' OPENSSL_ARCH='linux-aarch64';; armhf) ARCH='armv7l' OPENSSL_ARCH='linux-armv4';; i386) ARCH='x86' OPENSSL_ARCH='linux-elf';; *) echo "unsupported architecture"; exit 1 ;; esac && set -ex && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr xz-utils libatomic1 --no-install-recommends && rm -rf /var/lib/apt/lists/* && export GNUPGHOME="$(mktemp -d)" && for key in 4ED778F539E3634C779C87C6D7062848A1AB005C 141F07595B7B3FFE74309A937405533BE57C7D57 74F12602B6F1C4E913FAA37AD3A89613643B6201 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 61FC681DFB92A079F1685E77973F295594EC4689 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A A363A499291CBBC940DD62E41F10027AF002F8B0 CC68F5A3106FF448322E48ED27F5E38D5B0A215F ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc && gpgconf --kill all && rm -rf "$GNUPGHOME" && grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \; && apt-mark auto '.*' > /dev/null && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && ln -s /usr/local/bin/node /usr/local/bin/nodejs && node --version && npm --version # buildkit
# 2024-07-09 13:33:43 0.00B 设置环境变量 NODE_VERSION
ENV NODE_VERSION=18.20.4
# 2024-07-09 13:33:43 332.06KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit
# 2024-07-09 13:33:43 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2024-07-09 13:33:43 80.63MB
/bin/sh -c #(nop) ADD file:1b8ac8ec2b2cbdfc9682f076e7e579579d6df6235ed23b2e63f8eec671c52e92 in /
镜像信息
{
"Id": "sha256:3d4d2e5de53827d5f3284d10a0dbe254f6a8e6955768103fd2b23982ff8dfa4e",
"RepoTags": [
"nocobase/nocobase:1.3.23-beta",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nocobase/nocobase:1.3.23-beta"
],
"RepoDigests": [
"nocobase/nocobase@sha256:6ced410a22add4c9e8877c73472b8cd117dfeaa1de1740c59a250b57cfe4fe6b",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nocobase/nocobase@sha256:99513bbc648f9a8b7527266a41e7ed24f23ea818bad81d951ba5890aeb371e09"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-09-19T15:33:14.594913055Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"80/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=18.20.4",
"YARN_VERSION=1.22.19"
],
"Cmd": [
"/app/docker-entrypoint.sh"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/app/nocobase",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 375438425,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/f1f52c79a90e83c8a9115a8389bee1ead0d596d707e649770b64a6ef8269299a/diff:/var/lib/docker/overlay2/2623369a03823078c86e4c17e51852327f44bda7ab13c3ef3d88d813bd4d8a4c/diff:/var/lib/docker/overlay2/fd692c035f909a9301147e6847fd4165f9555c281de9b1c2d10ad786b56f24aa/diff:/var/lib/docker/overlay2/635a398f150d20a9e82235b850f8be991763f4bbf5a71649efbe8d4497b7ee5a/diff:/var/lib/docker/overlay2/8b2f0f638c0dd124c95078bfb7594ee66bb6e78f7a8c9f59e739b97319ffb406/diff:/var/lib/docker/overlay2/467c29fe6f64921044ad6247b852dced75dceed27acbec2bc24ebd069b0b4b3a/diff:/var/lib/docker/overlay2/e8e52e7ac0fa0331224883add1a4ec7b3d60809a0b7d3ec3f4e2b086df3c4550/diff:/var/lib/docker/overlay2/4dc0d61e0f96fcbcb12315eb7ee39250f94e9f697fa6f6f4c4733437cd8b3314/diff:/var/lib/docker/overlay2/e63b3eab8429a406ea22d7a01b3408e996ddcbaa1515842d1502d3bfc13f5b17/diff",
"MergedDir": "/var/lib/docker/overlay2/b643c53a17df79658c5be4bfb29d3a5ac90c0079db99801e46a84cb262dd37fe/merged",
"UpperDir": "/var/lib/docker/overlay2/b643c53a17df79658c5be4bfb29d3a5ac90c0079db99801e46a84cb262dd37fe/diff",
"WorkDir": "/var/lib/docker/overlay2/b643c53a17df79658c5be4bfb29d3a5ac90c0079db99801e46a84cb262dd37fe/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:6d190562115fea8651d83aeb5fe522b8ad03887859fbdb70f53d26fa26a1ed9e",
"sha256:a12a95e56f7a9772d07f5251828e55d144bb9bdd5df5291041ddf256c43cc94c",
"sha256:614a89b108ebd66b2bcb0aab9f0aee98866e57d7589874e98537e6dba053cd39",
"sha256:c8ba09782903d8d14c00906479301fef8dcc220e686b9f10fa6422a04911d69f",
"sha256:90fe8689062a9366dbfd3941b38c37633be13acf82c45e1e726058b7b4e4fbc3",
"sha256:ccd49add4cfe71a1507933e0c050286bae74b204c24b726a5aca576a75f33e98",
"sha256:85b81ffa206c1f98c104d5b9f4e089722efd58bd5cb75093254917dda65a9f06",
"sha256:f7b7dc56cb4ae9b03e5e5a3df5e35fcad084b2483dfd6ba877a789585b20f4bc",
"sha256:74c33cedffb546869743d1ae9ab9cdd31e7f7090283ac065af4732699d83e802",
"sha256:b53a579d4761e35b411c4ffe1f42988d188a788d1c65f83f72fe6a413a50d9bf"
]
},
"Metadata": {
"LastTagTime": "2024-09-23T09:33:51.86428927+08:00"
}
}