2025-01-08 06:54:07 UTC
258 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGen_US.UTF-8
PATH/opt/py3/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_SHA2562a9920c7a0cd236de33644ed980a13cbbc21058bfdc528febb6081575ed73be3
PYTHON_VERSION3.11.11
[#000] sha256:6c87eefc1f428634061bcdc9ec95ccceecd7c7475d35a777479af83f64ee6915 - 11.2% (28.9 MB)
[#001] sha256:4fa1278e3b9ca837093afcc4ca2a3922d83100b038225cb75226dae059962385 - 0.32% (851 KB)
[#002] sha256:2b195e5edb6581b17b8c875bf2c6aabfac1b3e5d65539bb56c945fceb0f0a2e6 - 5.7% (14.7 MB)
[#003] sha256:92516e77df5828db358f2f71c70ca8cda76e17c8f30e626fadece26844101d75 - 0.0% (249 Bytes)
[#004] sha256:efe60960b5922cf2cc01e23705e67cff823cef51a09066fb45f1f3910afb438d - 5.06% (13 MB)
[#005] sha256:5772cbbcc82b18121d6823e7bcf217e8b418aaabc2be6d2566e46b66a4cd4251 - 76.89% (198 MB)
[#006] sha256:3c88e5e121d4c4124fb454c8c561d5c1ed4b8efcb4cbe7a07e1beb8f86933db2 - 0.83% (2.15 MB)
[#007] sha256:28f97c5e873f20f65ae36ea7459e1777a23d90079a172a6b78784c7b01a8998f - 0.0% (329 Bytes)
[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
# debian.sh --arch 'amd64' out/ 'bullseye' '@1734912000'
2024-12-03 22:49:59 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-12-03 22:49:59 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-12-03 22:49:59 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-03 22:49:59 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2024-12-03 22:49:59 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.11
2024-12-03 22:49:59 UTC (buildkit.dockerfile.v0)ENV PYTHON_SHA256=2a9920c7a0cd236de33644ed980a13cbbc21058bfdc528febb6081575ed73be3
2024-12-03 22:49:59 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-03 22:49:59 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-03 22:49:59 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2025-01-08 06:52:58 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 PATH=/opt/py3/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-01-08 06:52:58 UTC (buildkit.dockerfile.v0)ARG DEPENDENCIES= libldap2-dev libx11-dev
2025-01-08 06:52:58 UTC (buildkit.dockerfile.v0)ARG TOOLS= cron ca-certificates default-libmysqlclient-dev openssh-client sshpass bubblewrap
2025-01-08 06:52:58 UTC (buildkit.dockerfile.v0)ARG APT_MIRROR=http://deb.debian.org
2025-01-08 06:52:58 UTC (buildkit.dockerfile.v0)RUN |3 DEPENDENCIES= libldap2-dev libx11-dev TOOLS= cron ca-certificates default-libmysqlclient-dev openssh-client sshpass bubblewrap APT_MIRROR=http://deb.debian.org /bin/sh -c set -ex && sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && apt-get update > /dev/null && apt-get -y install --no-install-recommends ${DEPENDENCIES} && apt-get -y install --no-install-recommends ${TOOLS} && mkdir -p /root/.ssh/ && echo "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null\n\tCiphers +aes128-cbc\n\tKexAlgorithms +diffie-hellman-group1-sha1\n\tHostKeyAlgorithms +ssh-rsa" > /root/.ssh/config && echo "no" | dpkg-reconfigure dash && apt-get clean all && rm -rf /var/lib/apt/lists/* && echo "0 3 * * * root find /tmp -type f -mtime +1 -size +1M -exec rm -f {} \; && date > /tmp/clean.log" > /etc/cron.d/cleanup_tmp && chmod 0644 /etc/cron.d/cleanup_tmp # buildkit
2025-01-08 06:54:06 UTC (buildkit.dockerfile.v0)COPY /opt /opt # buildkit
2025-01-08 06:54:06 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin /usr/local/bin # buildkit
2025-01-08 06:54:06 UTC (buildkit.dockerfile.v0)COPY /opt/jumpserver/apps/libs/ansible/ansible.cfg /etc/ansible/ # buildkit
2025-01-08 06:54:07 UTC (buildkit.dockerfile.v0)WORKDIR /opt/jumpserver
2025-01-08 06:54:07 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/data]
2025-01-08 06:54:07 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["./entrypoint.sh"]
2025-01-08 06:54:07 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2025-01-08 06:54:07 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2025-01-08 06:54:07 UTC (buildkit.dockerfile.v0)CMD ["start" "all"]
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.