takeoff-center (0.8.11)

Published 2026-11-21 21:28:04 +08:00 by kakan

Installation

docker pull git.wun.im/kakan/takeoff-center:0.8.11
sha256:5426212ebcdbd48a2e47aac61db7b204f01348b68f887ac4df4347e6c5638029

Images

Digest OS / Arch Size
09254b485a linux/amd64 105 MiB

Image Layers ( linux/amd64)

# debian.sh --arch 'amd64' out/ 'bookworm' '@1793827419'
RUN /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit
ENV NODE_VERSION=24.22.3
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';; arm64) ARCH='arm64' OPENSSL_ARCH='linux-aarch64';; *) 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 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A 655F3B5C1FB3FA8D1A0CA6BDE4A7D232B936D2FD 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
ENV YARN_VERSION=1.22.22
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
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["node"]
CENTER 0.8.9 Git runtime files with byte-verified 0.8.7 locked dependencies and fonts
ARG VCS_REF=f8851df8b08c05e23b1c70e8a962884a0b51d2cb
LABEL org.opencontainers.image.version=0.8.10 org.opencontainers.image.revision=f8851df8b08c05e23b1c70e8a962884a0b51d2cb
USER root
WORKDIR /app
COPY package.json package-lock.json /candidate-package/ # buildkit
RUN |1 VCS_REF=f8851df8b08c05e23b1c70e8a962884a0b51d2cb /bin/sh -c node --input-type=module -e 'import assert from "node:assert/strict"; import {readFileSync} from "node:fs"; const read=path=>JSON.parse(readFileSync(path)); for (const name of ["package.json","package-lock.json"]) { const old=read("/app/"+name), next=read("/candidate-package/"+name); assert.equal(old.version,"0.1.0-dev.33"); assert.equal(next.version,"0.1.0-dev.34"); old.version=next.version; if (old.packages) old.packages[""].version=next.version; assert.deepEqual(old,next); }' && install -m 0644 /candidate-package/package.json /candidate-package/package-lock.json /app/ && rm -rf /candidate-package # buildkit
COPY assets/ /app/assets/ # buildkit
COPY src/ /app/src/ # buildkit
COPY web/ /app/web/ # buildkit
USER node
RUN |1 VCS_REF=f8851df8b08c05e23b1c70e8a962884a0b51d2cb /bin/sh -c node -e 'const {DatabaseSync}=require("node:sqlite");new DatabaseSync(":memory:").close();' # buildkit
ARG VCS_REF=83033ebb562703b1235900c7fce3fb6db87739bf
LABEL org.opencontainers.image.version=0.8.10-r1 org.opencontainers.image.revision=83033ebb562703b1235900c7fce3fb6db87739bf
USER root
WORKDIR /app
COPY package.json package-lock.json /candidate-package/ # buildkit
RUN |1 VCS_REF=83033ebb562703b1235900c7fce3fb6db87739bf /bin/sh -c node --input-type=module -e 'import assert from "node:assert/strict"; import {readFileSync} from "node:fs"; const read=path=>JSON.parse(readFileSync(path)); for (const name of ["package.json","package-lock.json"]) { const old=read("/app/"+name), next=read("/candidate-package/"+name); assert.equal(old.version,"0.1.0-dev.34"); assert.equal(next.version,"0.1.0-dev.35"); old.version=next.version; if (old.packages) old.packages[""].version=next.version; assert.deepEqual(old,next); }' && install -m 0644 /candidate-package/package.json /candidate-package/package-lock.json /app/ && rm -rf /candidate-package # buildkit
COPY src/cadreader-adoption.js /app/src/cadreader-adoption.js # buildkit
USER node
ARG VCS_REF=e1cfa57584afdf28dd38e386ca25538d802fa121
LABEL org.opencontainers.image.version=0.8.10-r2 org.opencontainers.image.revision=e1cfa57584afdf28dd38e386ca25538d802fa121
USER root
WORKDIR /app
COPY package.json package-lock.json /candidate-package/ # buildkit
RUN |1 VCS_REF=e1cfa57584afdf28dd38e386ca25538d802fa121 /bin/sh -c node --input-type=module -e 'import assert from "node:assert/strict"; import {readFileSync} from "node:fs"; const read=path=>JSON.parse(readFileSync(path)); for (const name of ["package.json","package-lock.json"]) { const old=read("/app/"+name), next=read("/candidate-package/"+name); assert.equal(old.version,"0.1.0-dev.35"); assert.equal(next.version,"0.1.0-dev.36"); old.version=next.version; if (old.packages) old.packages[""].version=next.version; assert.deepEqual(old,next); }' && install -m 0644 /candidate-package/package.json /candidate-package/package-lock.json /app/ && rm -rf /candidate-package # buildkit
COPY web/calculation-workspace.js /app/web/calculation-workspace.js # buildkit
USER node
ARG VCS_REF=ea1e482943b819bef6c48fab99eab6aa6bd5a1ed
LABEL org.opencontainers.image.version=0.8.11 org.opencontainers.image.revision=ea1e482943b819bef6c48fab99eab6aa6bd5a1ed
USER root
WORKDIR /app
COPY package.json package-lock.json /candidate-package/ # buildkit
RUN |1 VCS_REF=ea1e482943b819bef6c48fab99eab6aa6bd5a1ed /bin/sh -c node --input-type=module -e 'import assert from "node:assert/strict"; import {readFileSync} from "node:fs"; const read=path=>JSON.parse(readFileSync(path)); for (const name of ["package.json","package-lock.json"]) { const old=read("/app/"+name), next=read("/candidate-package/"+name); assert.equal(old.version,"0.1.0-dev.36"); assert.equal(next.version,"0.1.0-dev.37"); old.version=next.version; if (old.packages) old.packages[""].version=next.version; assert.deepEqual(old,next); }' && install -m 0644 /candidate-package/package.json /candidate-package/package-lock.json /app/ && rm -rf /candidate-package # buildkit
COPY src/calculation-rule-display.js src/store.js /app/src/ # buildkit
COPY web/calculation-workspace.js /app/web/calculation-workspace.js # buildkit
USER node

Labels

Key Value
org.opencontainers.image.revision ea1e482943b819bef6c48fab99eab6aa6bd5a1ed
org.opencontainers.image.title Takeoff Center
org.opencontainers.image.version 0.8.11
Details
Container
2026-11-21 21:28:04 +08:00
0
OCI / Docker
Versions (39) View all
0.9.11 2026-12-01
0.9.10 2026-12-01
0.9.9 2026-11-30
0.9.8-r1 2026-11-30
0.9.8 2026-11-30