Namespace
jumpserver
Image / Tag
core:v4.1.0-rc0-ce
Content Digest
sha256:554f90ba51b3d8169403ac6a09334fbf67ffd891583d3049b96c4d5c825d3b1d
Details
Created

2024-11-21 08:43:39 UTC

Size

259 MB

Content Digest
Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

en_US.UTF-8

PATH

/opt/py3/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_SHA256

07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

PYTHON_VERSION

3.11.10


Layers

[#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:b17c254a4401e7b9c6081cbe51c0f228b454915d83f772a410126131d533e4d1 - 4.85% (12.5 MB)

[#005] sha256:576c53cd2a4c7c9649e539dc6848c63424e4a9d148a8d7b7e00f6445611c8f6a - 76.74% (199 MB)

[#006] sha256:675ae1768f0e9e8a9d0c96250a38e78b3798765acdf2926a1d458d8cf58dd088 - 0.83% (2.15 MB)

[#007] sha256:c61755eca2e8de98ccaaa97e6e31211abc2691488171fbf188b5651e42396961 - 0.0% (329 Bytes)

[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

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-21 08:43:31 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-21 08:43:31 UTC (buildkit.dockerfile.v0)

ARG DEPENDENCIES= libx11-dev

2024-11-21 08:43:31 UTC (buildkit.dockerfile.v0)

ARG TOOLS= cron ca-certificates default-libmysqlclient-dev openssh-client sshpass bubblewrap

2024-11-21 08:43:31 UTC (buildkit.dockerfile.v0)

ARG APT_MIRROR=http://deb.debian.org

2024-11-21 08:43:31 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:43:39 UTC (buildkit.dockerfile.v0)

COPY /opt /opt # buildkit

2024-11-21 08:43:39 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin /usr/local/bin # buildkit

2024-11-21 08:43:39 UTC (buildkit.dockerfile.v0)

COPY /opt/jumpserver/apps/libs/ansible/ansible.cfg /etc/ansible/ # buildkit

2024-11-21 08:43:39 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2024-11-21 08:43:39 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2024-11-21 08:43:39 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./entrypoint.sh"]

2024-11-21 08:43:39 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2024-11-21 08:43:39 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2024-11-21 08:43:39 UTC (buildkit.dockerfile.v0)

CMD ["start" "all"]

Details
Created

2024-11-21 08:43:06 UTC

Size

253 MB

Content Digest
Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

en_US.UTF-8

PATH

/opt/py3/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_SHA256

07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

PYTHON_VERSION

3.11.10


Layers

[#000] sha256:ac25a60fd56d38d0bc3960243a812295a0e7b11d4ff324470ca32452e930a2d1 - 11.35% (28.7 MB)

[#001] sha256:678b1401e77680f178776bc14caf869473018ebeb636488e14782b70339983eb - 0.32% (839 KB)

[#002] sha256:b620de93a3167638accd2b4d8cbaaa039ba21cf637f65143684577d3d5d04bf1 - 5.82% (14.7 MB)

[#003] sha256:456ce4103763a948f35f236a582d1ba9effbba2193bc523f102a245638d0e8fb - 0.0% (249 Bytes)

[#004] sha256:afbf5d8942e78ef0769273421494965f660ffe09ef42bc1b8e5251d1d62a86fd - 4.67% (11.8 MB)

[#005] sha256:ba5f55964566ab7411bfc4dd43dafd4f9a9acbd2ec2645765b97893c3343cc88 - 77.04% (195 MB)

[#006] sha256:b23a5e33ee6730383f8f7623338ffb4ffe602135c2511df11add4ed8c02a1a29 - 0.79% (1.99 MB)

[#007] sha256:ada5a07abb2e0d58f69332f46b19e538981898677c95e4e639632008f0d8a39a - 0.0% (328 Bytes)

[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

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-21 08:42:53 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-21 08:42:53 UTC (buildkit.dockerfile.v0)

ARG DEPENDENCIES= libx11-dev

2024-11-21 08:42:53 UTC (buildkit.dockerfile.v0)

ARG TOOLS= cron ca-certificates default-libmysqlclient-dev openssh-client sshpass bubblewrap

2024-11-21 08:42:53 UTC (buildkit.dockerfile.v0)

ARG APT_MIRROR=http://deb.debian.org

2024-11-21 08:42:53 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:43:06 UTC (buildkit.dockerfile.v0)

COPY /opt /opt # buildkit

2024-11-21 08:43:06 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin /usr/local/bin # buildkit

2024-11-21 08:43:06 UTC (buildkit.dockerfile.v0)

COPY /opt/jumpserver/apps/libs/ansible/ansible.cfg /etc/ansible/ # buildkit

2024-11-21 08:43:06 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2024-11-21 08:43:06 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2024-11-21 08:43:06 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./entrypoint.sh"]

2024-11-21 08:43:06 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2024-11-21 08:43:06 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2024-11-21 08:43:06 UTC (buildkit.dockerfile.v0)

CMD ["start" "all"]

Danger Zone
Delete Tag

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.

Delete