2025-03-11 10:12:28 UTC
270 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.UTF-8
PATH/root/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHONPATH/app
PYTHON_SHA256bfb249609990220491a1b92850a07135ed0831e41738cf681d63cf01b2a8fbd1
PYTHON_VERSION3.10.16
[#000] sha256:7cf63256a31a4cc44f6defe8e1af95363aee5fa75f30a248d95cae684f87c53c - 9.96% (26.9 MB)
[#001] sha256:4b785e93aa71f0735016fc3d581381d103d9ef3dbb2d7c66b86781e11ad1212c - 1.24% (3.35 MB)
[#002] sha256:dac1d3453b3006a0f520942d21a316e0eea0a819045071dd034323598f1a5988 - 5.52% (14.9 MB)
[#003] sha256:ff1399ac0930f96a270f52a599c3b82316e44fa8e9e6c8d1b7cd67ca74055102 - 0.0% (250 Bytes)
[#004] sha256:8f00fd356d22646809c2b1f6523a612b6ee11ae926dd9b70715e821d19876549 - 0.0% (91 Bytes)
[#005] sha256:46379271aaccd506f7fa38852ed00060db1149b99f7e46807be1a24dc2c17de9 - 26.34% (71.2 MB)
[#006] sha256:318112b8f76fcdfc4c62e55786e211bd277bdcb9d1da21402ef0dff94f822ab5 - 56.77% (153 MB)
[#007] sha256:9426ca1c91f52cb3cc0bb74d7a4ffa93fb19528c7776e2315b035c8c03183f72 - 0.08% (226 KB)
[#008] sha256:d1d58aa4d4a8d4d17c73db624752780dd3d9c400e95ec5a5959fccd89e0fd7b1 - 0.09% (245 KB)
# debian.sh --arch 'amd64' out/ 'bookworm' '@1740355200'
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.10.16
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)ENV PYTHON_SHA256=bfb249609990220491a1b92850a07135ed0831e41738cf681d63cf01b2a8fbd1
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-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-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 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 '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", 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; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)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
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2025-03-11 09:45:03 UTC (buildkit.dockerfile.v0)WORKDIR /app
2025-03-11 09:45:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install -y libgl1-mesa-glx ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit
2025-03-11 09:46:56 UTC (buildkit.dockerfile.v0)COPY /root/.local /root/.local # buildkit
2025-03-11 10:12:06 UTC (buildkit.dockerfile.v0)ENV PATH=/root/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-03-11 10:12:06 UTC (buildkit.dockerfile.v0)ENV PYTHONPATH=/app
2025-03-11 10:12:06 UTC (buildkit.dockerfile.v0)COPY . /app/ # buildkit
2025-03-11 10:12:28 UTC (buildkit.dockerfile.v0)COPY /app/frontend/dist /app/frontend/dist # buildkit
2025-03-11 10:12:28 UTC (buildkit.dockerfile.v0)EXPOSE map[8888/tcp:{}]
2025-03-11 10:12:28 UTC (buildkit.dockerfile.v0)HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:8888/api/config || exit 1"] "30s" "10s" "5s" "0s" '\x03'}
2025-03-11 10:12:28 UTC (buildkit.dockerfile.v0)CMD ["python" "web_server.py"]
2025-03-11 10:15:53 UTC
265 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.UTF-8
PATH/root/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHONPATH/app
PYTHON_SHA256bfb249609990220491a1b92850a07135ed0831e41738cf681d63cf01b2a8fbd1
PYTHON_VERSION3.10.16
[#000] sha256:d51c377d94dadb60d549c51ba66d3c4eeaa8bace4935d570ee65d8d1141d38fc - 10.09% (26.7 MB)
[#001] sha256:987cac002684c8b2119edb1ec5fe98f5448ad8d2a2c6562214ec315072fe6657 - 1.2% (3.18 MB)
[#002] sha256:1eb77cfee7e27869e0cec9b1384424dd73162748d40bb7eb12f2f3ae468835ad - 5.6% (14.8 MB)
[#003] sha256:2415d5c7c8934124a8d5a8874a60a120c7fa8710bb744a864d9a862ceadbf145 - 0.0% (251 Bytes)
[#004] sha256:8f00fd356d22646809c2b1f6523a612b6ee11ae926dd9b70715e821d19876549 - 0.0% (91 Bytes)
[#005] sha256:5d779b2554b8c28b4f263fd874288ee7116db9689990cc581b3714113a71699a - 26.15% (69.3 MB)
[#006] sha256:d0faad428af9b52ebe351cd300589d924e879edb323a5a911d9326253c34a151 - 56.78% (150 MB)
[#007] sha256:9426ca1c91f52cb3cc0bb74d7a4ffa93fb19528c7776e2315b035c8c03183f72 - 0.08% (226 KB)
[#008] sha256:33bedd59952056277faf8faad7854b705d567aeae5d2d22111f37b653b1e08ce - 0.09% (245 KB)
# debian.sh --arch 'arm64' out/ 'bookworm' '@1740355200'
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.10.16
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)ENV PYTHON_SHA256=bfb249609990220491a1b92850a07135ed0831e41738cf681d63cf01b2a8fbd1
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-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-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 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 '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", 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; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)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
2024-12-04 16:49:14 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2025-03-11 09:45:03 UTC (buildkit.dockerfile.v0)WORKDIR /app
2025-03-11 09:46:59 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install -y libgl1-mesa-glx ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit
2025-03-11 09:54:43 UTC (buildkit.dockerfile.v0)COPY /root/.local /root/.local # buildkit
2025-03-11 10:12:07 UTC (buildkit.dockerfile.v0)ENV PATH=/root/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-03-11 10:12:07 UTC (buildkit.dockerfile.v0)ENV PYTHONPATH=/app
2025-03-11 10:12:07 UTC (buildkit.dockerfile.v0)COPY . /app/ # buildkit
2025-03-11 10:15:53 UTC (buildkit.dockerfile.v0)COPY /app/frontend/dist /app/frontend/dist # buildkit
2025-03-11 10:15:53 UTC (buildkit.dockerfile.v0)EXPOSE map[8888/tcp:{}]
2025-03-11 10:15:53 UTC (buildkit.dockerfile.v0)HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:8888/api/config || exit 1"] "30s" "10s" "5s" "0s" '\x03'}
2025-03-11 10:15:53 UTC (buildkit.dockerfile.v0)CMD ["python" "web_server.py"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.