镜像构建历史
# 2025-08-01 15:59:01 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python" "run.py"]
# 2025-08-01 15:59:01 0.00B 声明容器运行时监听的端口
EXPOSE map[8080/tcp:{}]
# 2025-08-01 15:59:01 0.00B 指定运行容器时使用的用户
USER newtrackon
# 2025-08-01 15:59:01 74.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /app/newTrackon/data && chown -R newtrackon:newtrackon /app/newTrackon/data # buildkit
# 2025-08-01 15:59:01 3.08KB 执行命令并创建新的镜像层
RUN /bin/sh -c addgroup --system newtrackon && adduser -S -H -G newtrackon newtrackon # buildkit
# 2025-08-01 15:59:01 0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/app/newTrackon/data]
# 2025-08-01 15:59:01 29.05MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache curl && pip install --no-cache-dir . # buildkit
# 2025-08-01 15:57:56 0.00B 设置工作目录为/app/newTrackon
WORKDIR /app/newTrackon
# 2025-08-01 15:57:56 458.51KB 复制新文件或目录到容器中
COPY --chown=newtrackon:newtrackon . /app/newTrackon # buildkit
# 2025-06-12 05:49:27 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2025-06-12 05:49:27 36.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
# 2025-06-12 05:49:27 38.99MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-option-checking=fatal --enable-shared $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; arch="$(apk --print-arch)"; case "$arch" in x86_64|aarch64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; x86) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit
# 2025-06-12 05:49:27 0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=93e583f243454e6e9e4588ca2c2662206ad961659863277afcdb96801647d640
# 2025-06-12 05:49:27 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.13.5
# 2025-06-12 05:49:27 0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
# 2025-06-12 05:49:27 1.09MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
# 2025-06-12 05:49:27 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2025-06-12 05:49:27 0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
# 2025-06-12 05:49:27 8.51MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.22.1-aarch64.tar.gz / # buildkit
镜像信息
{
"Id": "sha256:2e67c907c2ac3a9309214e2ba09503437ff071283221b2aa8f34ecc7896b01e4",
"RepoTags": [
"corralpeltzer/newtrackon:latest",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/corralpeltzer/newtrackon:latest-linuxarm64"
],
"RepoDigests": [
"corralpeltzer/newtrackon@sha256:6f50d419e11e79f5deab07ef22388bb67aca398d4f4c98d3af1d374a29d5ece2",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/corralpeltzer/newtrackon@sha256:872c84e6a2e214d096ad23c33d6bcea4ebcb6918b4adeaae8ddb62ff67023c79"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-08-01T07:59:01.507270419Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "newtrackon",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8080/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
"PYTHON_VERSION=3.13.5",
"PYTHON_SHA256=93e583f243454e6e9e4588ca2c2662206ad961659863277afcdb96801647d640"
],
"Cmd": null,
"Image": "",
"Volumes": {
"/app/newTrackon/data": {}
},
"WorkingDir": "/app/newTrackon",
"Entrypoint": [
"python",
"run.py"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "arm64",
"Os": "linux",
"Size": 78101813,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/5d3ac2a8c14c225dd1c2267a4ec3da47a743cacd091d2352e7c97cb1d9ed4abb/diff:/var/lib/docker/overlay2/3167bdd960f10e901cec34ad39be825c0a35f90b6c0c7a15dd58763ef4c39ad1/diff:/var/lib/docker/overlay2/9dea1bc8a905c1e64c33f6cbf1f7bf1a735a54a4ca108f4c2ee7c691eed5863b/diff:/var/lib/docker/overlay2/bbfc1a35f49885651c1b8b8935d951082729746dbebf30aae234a516feb2a479/diff:/var/lib/docker/overlay2/7169b9b5a2ef2814f6da0a2bf2391b36ad6e84dc06772515c1244c89779024ab/diff:/var/lib/docker/overlay2/34167d3db3cf76fab080f0223686ccab63579ba3ad984e16a5ae73e465807879/diff:/var/lib/docker/overlay2/1b89128e7303bd2f5c330b93a57c56e382c7dfb2cb7f1ca4d5de4185f59199b3/diff:/var/lib/docker/overlay2/f5e718d8a0e870ff4cf6480f22588d909d8993919d5d119bfbea43bb872e48fe/diff",
"MergedDir": "/var/lib/docker/overlay2/e2f17ae3487558eaca0a86f197436282e8f8c0e4de75cb0855be9f58910ebe58/merged",
"UpperDir": "/var/lib/docker/overlay2/e2f17ae3487558eaca0a86f197436282e8f8c0e4de75cb0855be9f58910ebe58/diff",
"WorkDir": "/var/lib/docker/overlay2/e2f17ae3487558eaca0a86f197436282e8f8c0e4de75cb0855be9f58910ebe58/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:0b83d017db6efafadf6b3f18d087d2ce1d67d8f0e927dc7254b0ad088074cd3a",
"sha256:b28c4e0aee72346c072a7f3681d9e698555c07837e0c023f5b4efb8d08156afc",
"sha256:6c855cedcf2e4b37d64edaa6de26296e0b8e90217bb367f6981f4ec4b9b1b080",
"sha256:49a13b4ed03b3d82a790b35be0400955ee709e45fdf4af93162586b2a1b99df7",
"sha256:079431008b7103d31f6a9ccfb0c4a05aab8be312536f567019cb2f5770194794",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:2c270a344faa65e4d5f02bd339fa0381a15217fdfefa87ce1bcffe282cc67602",
"sha256:486a3937facca2262e6a77ac167eb291223c62cecf6dc242c014ef28e45182d4",
"sha256:c96789ff5bee620f3c4385d276edf2efa9b5719ab4a23c7e2bd6c28005a80938"
]
},
"Metadata": {
"LastTagTime": "2025-08-29T20:50:21.117487271+08:00"
}
}