torch-builder (4af9dce7a27825d922f654ab003462896ebc6fd3)
Published 2026-10-23 09:38:15 +00:00 by alex
Installation
docker pull git.piqueras.me/alex/torch-builder:4af9dce7a27825d922f654ab003462896ebc6fd3sha256:d195b3075653fc69c399201152bf4236cb6dabd1574cf27454877a517a0978eeAbout this package
Nix container image
Image layers
| COPY file:8a4358e3472783ce516d93f34213a3c3072b38ff288ac42935204813c732fe2e in /usr/local/bin/bun |
| /bin/sh -c set -eu; glibc=$(nix-store -qR /nix/var/nix/profiles/default | grep -E -- '-glibc-[0-9.]+(-[0-9]+)?$' | head -1); test -n "$glibc"; mkdir -p /lib64; ln -s "$glibc/lib/ld-linux-x86-64.so.2" /lib64/ld-linux-x86-64.so.2; test "$(/usr/local/bin/bun --version)" = 1.4.3 |
| ARG NIXPKGS_REV |
| |1 NIXPKGS_REV=c508844df6c28fa6dabc1b6af70f3ccbd65c5201 /bin/sh -c set -eu; out=$(nix --extra-experimental-features 'nix-command flakes' build --no-link --print-out-paths "github:NixOS/nixpkgs/${NIXPKGS_REV}#jq.bin" "github:NixOS/nixpkgs/${NIXPKGS_REV}#tini"); nix-env -i $out; nix-collect-garbage -d; jq --version; tini --version |
| |1 NIXPKGS_REV=c508844df6c28fa6dabc1b6af70f3ccbd65c5201 /bin/sh -c printf '%s\n' 'experimental-features = nix-command flakes' 'sandbox = false' 'build-users-group =' 'substituters = https://cache.nixos.org' 'trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=' > /etc/nix/nix.conf |
| |1 NIXPKGS_REV=c508844df6c28fa6dabc1b6af70f3ccbd65c5201 /bin/sh -c set -eu; grep -q '^builder:' /etc/passwd || echo 'builder:x:1000:1000:torch builder:/var/lib/torch-builder/work/home:/bin/sh' >> /etc/passwd; grep -q '^builder:' /etc/group || echo 'builder:x:1000:' >> /etc/group; mkdir -p /var/lib/torch-builder/work /var/lib/torch-builder/handoff; chown -R 1000:1000 /nix /var/lib/torch-builder; find / -xdev -type f -perm /6000 -exec chmod ug-s {} + 2>/dev/null || true; left=$(find / -xdev -type f -perm /6000 2>/dev/null | head -5); if [ -n "$left" ]; then echo "setuid/setgid files remain: $left" >&2; exit 1; fi |
| WORKDIR /app |
| COPY file:51f18310dad4e00ba6cda1ed32005da82d0120d6424c19037b23b6b12877dc0e in ./ |
| COPY dir:f80fac7abba9cd4527c945c90b9de093409e30fba4ad923c4ba440d996c2e93d in ./src |
| ENV HOME=/var/lib/torch-builder/work/home TMPDIR=/var/lib/torch-builder/work/tmp XDG_CACHE_HOME=/var/lib/torch-builder/work/home/.cache BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 USER=builder PATH=/usr/local/bin:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin |
| USER 1000 |
| EXPOSE 8090 |
| CMD ["tini", "--", "bun", "src/builder/server.ts"] |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.43.4 |
| org.opencontainers.image.description | Nix container image |
| org.opencontainers.image.source | https://github.com/NixOS/nix |
| org.opencontainers.image.title | Nix |
| org.opencontainers.image.vendor | Nix project |
| org.opencontainers.image.version | 2.34.9 |
Annotations
| Key | Value |
|---|---|
| org.opencontainers.image.base.digest | sha256:f9823365cb4dbd4f1c056957d94e415b5bae73dfee33cf4da84c98a2f4ce9577 |
| org.opencontainers.image.base.name | docker.io/nixos/nix@sha256:53b5ec518b696373829ea305c3c07a8c870113e44648c88ec484ef078550fd4f |
| org.opencontainers.image.created | 2026-10-23T08:43:58.667631186Z |
Details
2026-10-23 09:38:15 +00:00
2026-10-30 13:03:49 +00:00
Versions (12)
View all
Container
3
OCI / Docker
linux/amd64
439 MiB
v1.1.0-rc.7
2026-10-29
2083bccad631e4b09ca92e5e13bdc05b61752877
2026-10-29
v1.1.0-rc.6
2026-10-29
bd18fff771c17552dae299d7a23f37cf878d6fdc
2026-10-29
v1.1.0-rc.5
2026-10-23