2024-11-21 08:06:15 UTC
259 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_SHA25607a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372
PYTHON_VERSION3.11.10
[#000] sha256:55ab1b300d4b4b00c98fb396b36f0f7ba5dab2f7d18927e3742d364632723cbe - 11.59% (30 MB)
[#001] sha256:7bbce50388ecc9377438b472c286f3713ff932564da0346609f04c08eaa9f059 - 0.32% (851 KB)
[#002] sha256:2fe2526b64dfe2b17fe8a15d90fdb4493c07f602e671b39d3a1d5b8ca5307492 - 5.68% (14.7 MB)
[#003] sha256:782257b4c34288407aec05f34732779c1acd0631c052169746aef481854fc2b3 - 0.0% (250 Bytes)
[#004] sha256:8c7776c38324e0727d2739541a913066e32ea2d616c4fb376e62f429ba841c5d - 4.85% (12.5 MB)
[#005] sha256:565455d4a62a1b0e877a3c6b01853e11b9c7dccf028d3d222b8c16ce6ce97a1a - 76.74% (199 MB)
[#006] sha256:675ae1768f0e9e8a9d0c96250a38e78b3798765acdf2926a1d458d8cf58dd088 - 0.83% (2.15 MB)
[#007] sha256:16fb33cddecf90846ae89e8347f56ce1da0fb94c7a912ee85e4fb654e36fe9fa - 0.0% (327 Bytes)
[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
ADD rootfs.tar.xz / # buildkit
2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)CMD ["bash"]
2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-10-18 23:23:40 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-10-18 23:23:40 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.10
2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)ENV PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372
2024-10-18 23:23:40 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-10-18 23:23:40 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-10-18 23:23:40 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-11-17 13:53:12 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
2024-11-17 13:53:12 UTC (buildkit.dockerfile.v0)ARG DEPENDENCIES= libx11-dev
2024-11-17 13:53:12 UTC (buildkit.dockerfile.v0)ARG TOOLS= cron ca-certificates default-libmysqlclient-dev openssh-client sshpass bubblewrap
2024-11-17 13:53:12 UTC (buildkit.dockerfile.v0)ARG APT_MIRROR=http://deb.debian.org
2024-11-17 13:53:12 UTC (buildkit.dockerfile.v0)RUN |3 DEPENDENCIES= 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
2024-11-21 08:05:57 UTC (buildkit.dockerfile.v0)COPY /opt /opt # buildkit
2024-11-21 08:06:09 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin /usr/local/bin # buildkit
2024-11-21 08:06:14 UTC (buildkit.dockerfile.v0)COPY /opt/jumpserver/apps/libs/ansible/ansible.cfg /etc/ansible/ # buildkit
2024-11-21 08:06:15 UTC (buildkit.dockerfile.v0)WORKDIR /opt/jumpserver
2024-11-21 08:06:15 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/data]
2024-11-21 08:06:15 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["./entrypoint.sh"]
2024-11-21 08:06:15 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2024-11-21 08:06:15 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-11-21 08:06:15 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.