docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks:ubuntu-1745885067
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks:ubuntu-1745885067 ghcr.io/railwayapp/nixpacks:ubuntu-1745885067
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks:ubuntu-1745885067
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks:ubuntu-1745885067 ghcr.io/railwayapp/nixpacks:ubuntu-1745885067
sed -i 's#ghcr.io/railwayapp/nixpacks:ubuntu-1745885067#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks:ubuntu-1745885067#' deployment.yaml
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks:ubuntu-1745885067 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks:ubuntu-1745885067 ghcr.io/railwayapp/nixpacks:ubuntu-1745885067'
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks:ubuntu-1745885067 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks:ubuntu-1745885067 ghcr.io/railwayapp/nixpacks:ubuntu-1745885067'
# 2025-04-29 08:04:47 0.00B 设置环境变量 ENV USER PATH GIT_SSL_CAINFO NIX_SSL_CERT_FILE NIX_PATH NIXPKGS_ALLOW_BROKEN NIXPKGS_ALLOW_UNFREE NIXPKGS_ALLOW_INSECURE LD_LIBRARY_PATH CPATH LIBRARY_PATH QTDIR
ENV ENV=/etc/profile USER=root PATH=/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt NIX_PATH=/nix/var/nix/profiles/per-user/root/channels NIXPKGS_ALLOW_BROKEN=1 NIXPKGS_ALLOW_UNFREE=1 NIXPKGS_ALLOW_INSECURE=1 LD_LIBRARY_PATH=/usr/lib CPATH=~/.nix-profile/include: LIBRARY_PATH=~/.nix-profile/lib: QTDIR=~/.nix-profile:
# 2025-04-29 08:04:47 327.00B 执行命令并创建新的镜像层
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/bash -ol pipefail -c printf 'if [ -d $HOME/.nix-profile/etc/profile.d ]; then\n for i in $HOME/.nix-profile/etc/profile.d/*.sh; do\n if [ -r $i ]; then\n . $i\n fi\n done\n fi\n' >> /root/.profile && printf 'PATH=$NIXPACKS_PATH:$PATH' >> /root/.profile # buildkit
# 2025-04-29 08:04:47 165.33MB 执行命令并创建新的镜像层
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/bash -ol pipefail -c set -o pipefail && curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux --no-confirm --init none --extra-conf "sandbox = false" --extra-conf "filter-syscalls = false" --extra-conf "experimental-features = nix-command flakes" && /nix/var/nix/profiles/default/bin/nix-channel --remove nixpkgs && /nix/var/nix/profiles/default/bin/nix-collect-garbage --delete-old # buildkit
# 2025-04-29 08:04:41 0.00B
SHELL [/bin/bash -ol pipefail -c]
# 2025-04-29 08:04:41 103.11MB 执行命令并创建新的镜像层
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c apt-get update && apt-get -y upgrade && apt-get install --no-install-recommends -y sudo locales curl tzdata xz-utils ca-certificates openssl make git pkg-config && apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /usr/share/doc/* && mkdir -m 0755 /nix && mkdir -m 0755 /etc/nix # buildkit
# 2025-04-29 08:04:41 0.00B 定义构建参数
ARG DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC
# 2025-04-08 18:43:15 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2025-04-08 18:43:14 78.10MB
/bin/sh -c #(nop) ADD file:1d7c45546e94b90e941c5bf5c7a5d415d7b868581ad96171d4beb76caa8ab683 in /
# 2025-04-08 18:43:12 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
# 2025-04-08 18:43:12 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
# 2025-04-08 18:43:12 0.00B
/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
# 2025-04-08 18:43:12 0.00B
/bin/sh -c #(nop) ARG RELEASE
{
"Id": "sha256:75908e6a244aa7c07bd16c59f1a88c832d0735edf545bd28f86d6bee4a5536a0",
"RepoTags": [
"ghcr.io/railwayapp/nixpacks:ubuntu-1745885067",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks:ubuntu-1745885067"
],
"RepoDigests": [
"ghcr.io/railwayapp/nixpacks@sha256:d45c89d80e13d7ad0fd555b5130f22a866d9dd10e861f589932303ef2314c7de",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/railwayapp/nixpacks@sha256:90ac3e2cbc3c3e3c288683013fa55fe2a7813e01e6acbdf49f9cc03f3203dee8"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-04-29T00:04:47.370839331Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin",
"ENV=/etc/profile",
"USER=root",
"GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt",
"NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt",
"NIX_PATH=/nix/var/nix/profiles/per-user/root/channels",
"NIXPKGS_ALLOW_BROKEN=1",
"NIXPKGS_ALLOW_UNFREE=1",
"NIXPKGS_ALLOW_INSECURE=1",
"LD_LIBRARY_PATH=/usr/lib",
"CPATH=~/.nix-profile/include:",
"LIBRARY_PATH=~/.nix-profile/lib:",
"QTDIR=~/.nix-profile:"
],
"Cmd": [
"/bin/bash"
],
"Image": "",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "24.04"
},
"Shell": [
"/bin/bash",
"-ol",
"pipefail",
"-c"
]
},
"Architecture": "amd64",
"Os": "linux",
"Size": 346542859,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/1867f77550e90ee2972b1f49a4807e4ef62d0eb7ecc9bc1350416f849a3b92bf/diff:/var/lib/docker/overlay2/0c90c2917f2b6242cfdb4daf815072cf789765b64ba4d42fa04d8c382429488f/diff:/var/lib/docker/overlay2/697096b4c822b101843182ff505291800d91c80f1ac5c99f2b9cab5e17ecccf2/diff",
"MergedDir": "/var/lib/docker/overlay2/e07797999ee4cbb774ea35ebeb891be3e999277624d5641e9b3ef001310a8e3e/merged",
"UpperDir": "/var/lib/docker/overlay2/e07797999ee4cbb774ea35ebeb891be3e999277624d5641e9b3ef001310a8e3e/diff",
"WorkDir": "/var/lib/docker/overlay2/e07797999ee4cbb774ea35ebeb891be3e999277624d5641e9b3ef001310a8e3e/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:3abdd8a5e7a8909e1509f1d36dcc8b85a0f95c68a69e6d86c6e9e3c1059d44b3",
"sha256:dd641b4a0e44cf5f21b150924d7a8d47fb1479c626d2b5e77dc98394ff576b08",
"sha256:159c113faa7ac1844b8abc950e749e4f26111b2515e5808c18baced3cf91c9d5",
"sha256:b42a6f6d9f73ce93861b8965523eedbc3bb8dede6e00b85194bead2fbb1d5bde"
]
},
"Metadata": {
"LastTagTime": "2026-03-25T11:43:37.844096265+08:00"
}
}