镜像构建历史
# 2025-10-23 01:00:07 0.00B 设置默认要执行的命令
CMD ["node" "server/server.js"]
# 2025-10-23 01:00:07 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/dumb-init" "--"]
# 2025-10-23 01:00:07 0.00B 指定检查容器健康状态的命令
HEALTHCHECK &{["CMD-SHELL" "extra/healthcheck"] "1m0s" "30s" "3m0s" "0s" '\x05'}
# 2025-10-23 01:00:07 0.00B 声明容器运行时监听的端口
EXPOSE map[3001/tcp:{}]
# 2025-10-23 01:00:07 214.60MB 复制新文件或目录到容器中
COPY --chown=node:node /app /app # buildkit
# 2025-10-23 01:00:07 0.00B 设置环境变量 UPTIME_KUMA_IS_CONTAINER
ENV UPTIME_KUMA_IS_CONTAINER=1
# 2025-10-23 01:00:07 0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/louislam/uptime-kuma
# 2025-10-23 01:00:04 0.00B 设置工作目录为/app
WORKDIR /app
# 2025-10-20 01:56:03 1.16GB 执行命令并创建新的镜像层
RUN /bin/sh -c apt update && apt --yes --no-install-recommends install chromium fonts-indic fonts-noto fonts-noto-cjk mariadb-server && rm -rf /var/lib/apt/lists/* && apt --yes autoremove && chown -R node:node /var/lib/mysql # buildkit
# 2025-10-20 01:56:03 0.00B 设置环境变量 UPTIME_KUMA_ENABLE_EMBEDDED_MARIADB
ENV UPTIME_KUMA_ENABLE_EMBEDDED_MARIADB=1
# 2025-10-20 01:44:47 840.00B 复制新文件或目录到容器中
COPY ./docker/etc/sudoers /etc/sudoers # buildkit
# 2025-10-20 01:44:47 3.95KB 复制新文件或目录到容器中
COPY ./docker/etc/nscd.conf /etc/nscd.conf # buildkit
# 2025-10-20 01:44:47 39.70MB 执行命令并创建新的镜像层
RUN |1 TARGETPLATFORM=linux/arm64 /bin/sh -c curl https://pkg.cloudflare.com/cloudflare-main.gpg --output /usr/share/keyrings/cloudflare-main.gpg && echo 'deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared bookworm main' | tee /etc/apt/sources.list.d/cloudflared.list && apt update && apt install --yes --no-install-recommends cloudflared && cloudflared version && rm -rf /var/lib/apt/lists/* && apt --yes autoremove # buildkit
# 2025-10-20 01:44:24 56.69MB 执行命令并创建新的镜像层
RUN |1 TARGETPLATFORM=linux/arm64 /bin/sh -c apt update && apt --yes --no-install-recommends install ./apprise.deb python3-paho-mqtt && rm -rf /var/lib/apt/lists/* && rm -f apprise.deb && apt --yes autoremove # buildkit
# 2025-10-20 01:43:09 834.62KB 复制新文件或目录到容器中
COPY /app/apprise.deb ./apprise.deb # buildkit
# 2025-10-20 01:43:09 20.68MB 执行命令并创建新的镜像层
RUN |1 TARGETPLATFORM=linux/arm64 /bin/sh -c apt update && apt --yes --no-install-recommends install sqlite3 ca-certificates iputils-ping util-linux dumb-init curl sudo nscd && rm -rf /var/lib/apt/lists/* && apt --yes autoremove # buildkit
# 2025-10-20 01:43:09 0.00B 定义构建参数
ARG TARGETPLATFORM=linux/arm64
# 2025-09-04 03:47:58 0.00B 设置默认要执行的命令
CMD ["node"]
# 2025-09-04 03:47:58 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
# 2025-09-04 03:47:58 388.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
# 2025-09-04 03:47:58 7.18MB 执行命令并创建新的镜像层
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 --fingerprint "$key"; } || { gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" && gpg --batch --fingerprint "$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
# 2025-09-04 03:47:58 0.00B 设置环境变量 YARN_VERSION
ENV YARN_VERSION=1.22.22
# 2025-09-04 03:47:58 116.56MB 执行命令并创建新的镜像层
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 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 CC68F5A3106FF448322E48ED27F5E38D5B0A215F 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A A363A499291CBBC940DD62E41F10027AF002F8B0 ; do { gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" && gpg --batch --fingerprint "$key"; } || { gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" && gpg --batch --fingerprint "$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 && rm -rf /tmp/* # buildkit
# 2025-09-04 03:47:58 0.00B 设置环境变量 NODE_VERSION
ENV NODE_VERSION=20.19.5
# 2025-09-04 03:47:58 8.90KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit
# 2025-09-04 03:47:58 97.20MB
# debian.sh --arch 'arm64' out/ 'bookworm' '@1759104000'
镜像信息
{
"Id": "sha256:81411545218b300d14d6627c8e7c05773e60f6384941a77c63caea71c778db46",
"RepoTags": [
"louislam/uptime-kuma:2.0.2",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/louislam/uptime-kuma:2.0.2-linuxarm64"
],
"RepoDigests": [
"louislam/uptime-kuma@sha256:4c364ef96aaddac7ec4c85f5e5f31c3394d35f631381ccbbf93f18fd26ac7cba",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/louislam/uptime-kuma@sha256:49bd00d8c56a034072e18b8529c5115a5c0997544e3be8c6704200a1aacdc7e7"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-10-22T17:00:07.911210752Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"3001/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=20.19.5",
"YARN_VERSION=1.22.22",
"UPTIME_KUMA_ENABLE_EMBEDDED_MARIADB=1",
"UPTIME_KUMA_IS_CONTAINER=1"
],
"Cmd": [
"node",
"server/server.js"
],
"Healthcheck": {
"Test": [
"CMD-SHELL",
"extra/healthcheck"
],
"Interval": 60000000000,
"Timeout": 30000000000,
"StartPeriod": 180000000000,
"Retries": 5
},
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/app",
"Entrypoint": [
"/usr/bin/dumb-init",
"--"
],
"OnBuild": null,
"Labels": {
"org.opencontainers.image.source": "https://github.com/louislam/uptime-kuma"
}
},
"Architecture": "arm64",
"Os": "linux",
"Size": 1717990766,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/09e21c0c53fc2caa783d27d7911f2d4225f3b1721d39cd1345b6b82762c0d7a4/diff:/var/lib/docker/overlay2/53a295684062f692b0a4ab4ed19d69a8c1b419be5651b5984a64055a0cfdedde/diff:/var/lib/docker/overlay2/b8a23ec35bfc856ea8d6abc40eb3ec13e5de6c6b642afcdb2d236ae84cbe1f96/diff:/var/lib/docker/overlay2/357c308d263c4e6ee64514b2e9a6de0774bc0eb2b05437d8885294a527c17d6d/diff:/var/lib/docker/overlay2/3af4660b0f00f6325ef47cce9c158569ae6867a0374cf226ac5ebd7518e3cdcf/diff:/var/lib/docker/overlay2/40ce47efb8a831023442da01eab24d6d9a9ce86af682064da7f6f1a5dc480aeb/diff:/var/lib/docker/overlay2/ad22f2580e4c73d3c395fa018897d45c6089250c6926bb875be0c701d2480b7d/diff:/var/lib/docker/overlay2/e76826ecf25423c1924c399d5c1898a4eff5c3e0ab03540a117c9a45a98e8c1d/diff:/var/lib/docker/overlay2/7d1a2ece104b08eaedd79507d682cd3b916c9c692e954de4cee46c08ced0062a/diff:/var/lib/docker/overlay2/2602a21b5e8196cd62549a3ce9e574d947da99633eea2fb1e6c7ad1b8752b30f/diff:/var/lib/docker/overlay2/a82a8d155dd622145ac2a2d71b7e69b2708ee78ca9506c987701a0139b7e1015/diff:/var/lib/docker/overlay2/273bcd6eb95e938b4418b3b4e2657e52436bdf320b2d204ee4e294ad23cc9635/diff:/var/lib/docker/overlay2/9d9fd36f29ddf14400e19ee879cf159d67796fc7089b91a437d2aebcfb1a351c/diff",
"MergedDir": "/var/lib/docker/overlay2/fd8acb9bfbf3eb5b548c7a0aee31de9852a5cd0a3f40f3243da2e9764bf87663/merged",
"UpperDir": "/var/lib/docker/overlay2/fd8acb9bfbf3eb5b548c7a0aee31de9852a5cd0a3f40f3243da2e9764bf87663/diff",
"WorkDir": "/var/lib/docker/overlay2/fd8acb9bfbf3eb5b548c7a0aee31de9852a5cd0a3f40f3243da2e9764bf87663/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:3e5d01a55aea2c9ea64c3cfef2bb870df4b01c7e206103a970d4c3dc6caed96b",
"sha256:41624818aae245a0be29b2fe955b4c29dfee4b88989042cbe6b5e6e74e0fd6bf",
"sha256:0969c66c4262230fb8411f8704171e2129e9a6e2c93b982bfa82baad0751895a",
"sha256:cd82bb73b42786ba19326357949f54e2f37d76ba6150321838d1084c473ab3d6",
"sha256:b1a07cda9bd63c28c0fcee017e91bed75e986031fae497b85191a402368ba949",
"sha256:efc74661326b18c6fe8f455e5846abb8114ea31e48d289608a4ee7cc9e9e4fe5",
"sha256:4093e5a151a1b50c3f83215f22fcd3d89a5e41267aa2694e5b956504b2f5a9ae",
"sha256:94e9c15404103e80af7dccc1184b21247c79a1fe68f15d942ab2ac1815c6addd",
"sha256:0107cb518dcb3188e6404597f89e5d1dde8089fb8220fb278f4174002aee0d70",
"sha256:04e2ccb52738447935b6be0a07f0089668fd6637993b1ba6a0038727c2ac7cde",
"sha256:895c256034612c1a12fd2df97d7815cbec9f4242e223d139ff1680a26e7eb855",
"sha256:f0445102bd45ac573634928699db1b048bd387dbc2bde0ac5caa5afbc5425a25",
"sha256:7d028b5b3cdb250fd223cb0075a84d312ad74fe67e59f0b6ee83dfcbdd0044f0",
"sha256:e6907829e719eca0ab3ca3d6550165070db15c050e0fef1428385af8d90cb6c3"
]
},
"Metadata": {
"LastTagTime": "2025-11-28T15:37:46.025358688+08:00"
}
}