Namespace
jumpserver
Image / Tag
core:v3.5.5
Content Digest
sha256:740a4e22ad9154263a1c98704fd9b89f4d1d105b776c4e197fae443a335cf7e2
Details
Created

2023-09-11 09:06:26 UTC

Size

491 MB

Content Digest
Environment
GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

zh_CN.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

58.1.0

PYTHON_VERSION

3.9.18


Layers

[#000] sha256:ddade83992f922bd9baa0e67dd5f7e8f518b6ed19c67e2ea076c92a8b38416c0 - 5.28% (25.9 MB)

[#001] sha256:81f55c29df53a0feb554e37cb44284ded36b831574fab64822b7c8e89ae17b2e - 0.54% (2.65 MB)

[#002] sha256:2fc00c1b7aa5c603d15d0bdbf9d60f50505ea27fbaa1b11d673fbeaf5b5e88d4 - 2.15% (10.5 MB)

[#003] sha256:c56bcc749389d0d7cafb7ffc6b51f662f57ebe7a84f6c60d1984995ca4505450 - 0.0% (233 Bytes)

[#004] sha256:5b30d20e1f9c10515665ce15300708dc01d57e6472f9b9ce92b7de00aa60b66c - 0.57% (2.79 MB)

[#005] sha256:6b59bbdf29850769b7aee1e6e498aa39ee7decb4c6b49e42c649056e76489a25 - 38.33% (188 MB)

[#006] sha256:8a248404cdff7d5aea8b0b4543a44dbff8154d9de602ffa9d2436459f4491a5a - 7.41% (36.4 MB)

[#007] sha256:6d634cc74acb9794c5af320f3339e080e360c02f4a5f6b29cdda42cc2eb0c052 - 0.0% (119 Bytes)

[#008] sha256:031a9901a1ad5f1200d336a5dea457e9a1b5acaff0a846b481a601c166a1649d - 0.0% (2.9 KB)

[#009] sha256:3de538988dd596c9e321eafa806da8aaf75efbe4a59951febbbc83e11d9c42bf - 30.45% (149 MB)

[#010] sha256:5a88ad729b77792520e16272f4910ce378c126f1759fe335e9fe050d0fa79acb - 15.28% (75 MB)

[#011] sha256:f46ac228786e0b44b16e16dfd860b4ede1e1b0f6e429b39852f8e7b9aa005ff3 - 0.0% (208 Bytes)

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


History
2023-08-16 01:00:31 UTC

/bin/sh -c #(nop) ADD file:d4315fd7ceb67a5501410e4392ad3fd73642d6e2490f3626ce20a29321fa3682 in /

2023-08-16 01:00:32 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-08-25 15:58:01 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-08-25 15:58:01 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-08-25 15:58:01 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

2023-08-25 15:58:01 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2023-08-25 15:58:01 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.9.18

2023-09-01 11:05:12 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 libexpat1-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"; 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-system-expat --without-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:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" 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); 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; rm -rf /var/lib/apt/lists/*; python3 --version # buildkit

2023-09-01 11:05:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 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

2023-09-01 11:05:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-09-01 11:05:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=58.1.0

2023-09-01 11:05:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

2023-09-01 11:05:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

2023-09-01 11:05:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2023-09-01 11:05:41 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-09-11 08:58:03 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH

2023-09-11 08:58:03 UTC (buildkit.dockerfile.v0)

MAINTAINER JumpServer Team <ibuler@qq.com>

2023-09-11 08:58:03 UTC (buildkit.dockerfile.v0)

ARG BUILD_DEPENDENCIES= g++ make pkg-config

2023-09-11 08:58:03 UTC (buildkit.dockerfile.v0)

ARG DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev

2023-09-11 08:58:03 UTC (buildkit.dockerfile.v0)

ARG TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales openssh-client procps sshpass telnet unzip vim git wget

2023-09-11 08:58:03 UTC (buildkit.dockerfile.v0)

ARG APT_MIRROR=http://mirrors.ustc.edu.cn

2023-09-11 08:58:03 UTC (buildkit.dockerfile.v0)

RUN |5 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales openssh-client procps sshpass telnet unzip vim git wget APT_MIRROR=http://deb.debian.org /bin/sh -c sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list && rm -f /etc/apt/apt.conf.d/docker-clean && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && apt-get update && apt-get -y install --no-install-recommends ${BUILD_DEPENDENCIES} && 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 "set mouse-=a" > ~/.vimrc && echo "no" | dpkg-reconfigure dash && echo "zh_CN.UTF-8" | dpkg-reconfigure locales && sed -i "s@# export @export @g" ~/.bashrc && sed -i "s@# alias @alias @g" ~/.bashrc && rm -rf /var/lib/apt/lists/* # buildkit

2023-09-11 08:58:03 UTC (buildkit.dockerfile.v0)

ARG DOWNLOAD_URL=https://download.jumpserver.org

2023-09-11 08:58:19 UTC (buildkit.dockerfile.v0)

RUN |6 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales openssh-client procps sshpass telnet unzip vim git wget APT_MIRROR=http://deb.debian.org DOWNLOAD_URL=https://download.jumpserver.org /bin/sh -c set -ex && if [ "${TARGETARCH}" == "amd64" ] || [ "${TARGETARCH}" == "arm64" ]; then mkdir -p /opt/oracle; cd /opt/oracle; wget ${DOWNLOAD_URL}/public/instantclient-basiclite-linux.${TARGETARCH}-19.10.0.0.0.zip; unzip instantclient-basiclite-linux.${TARGETARCH}-19.10.0.0.0.zip; echo "/opt/oracle/instantclient_19_10" > /etc/ld.so.conf.d/oracle-instantclient.conf; ldconfig; rm -f instantclient-basiclite-linux.${TARGETARCH}-19.10.0.0.0.zip; fi # buildkit

2023-09-11 08:58:19 UTC (buildkit.dockerfile.v0)

WORKDIR /tmp/build

2023-09-11 08:58:19 UTC (buildkit.dockerfile.v0)

COPY ./requirements ./requirements # buildkit

2023-09-11 08:58:19 UTC (buildkit.dockerfile.v0)

ARG PIP_MIRROR=https://pypi.douban.com/simple

2023-09-11 08:58:19 UTC (buildkit.dockerfile.v0)

ARG PIP_JMS_MIRROR=https://pypi.douban.com/simple

2023-09-11 09:06:20 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales openssh-client procps sshpass telnet unzip vim git wget APT_MIRROR=http://deb.debian.org DOWNLOAD_URL=https://download.jumpserver.org PIP_MIRROR=https://pypi.org/simple PIP_JMS_MIRROR=https://pypi.org/simple /bin/sh -c set -ex && pip config set global.index-url ${PIP_MIRROR} && pip install --upgrade pip && pip install --upgrade setuptools wheel && if [ "${TARGETARCH}" == "loong64" ]; then pip install https://download.jumpserver.org/pypi/simple/cryptography/cryptography-38.0.4-cp39-cp39-linux_loongarch64.whl; pip install https://download.jumpserver.org/pypi/simple/greenlet/greenlet-1.1.2-cp39-cp39-linux_loongarch64.whl; pip install https://download.jumpserver.org/pypi/simple/PyNaCl/PyNaCl-1.5.0-cp39-cp39-linux_loongarch64.whl; fi && pip install $(grep -E 'jms|jumpserver' requirements/requirements.txt) -i ${PIP_JMS_MIRROR} && pip install -r requirements/requirements.txt # buildkit

2023-09-11 09:06:26 UTC (buildkit.dockerfile.v0)

COPY /opt/jumpserver/release/jumpserver /opt/jumpserver # buildkit

2023-09-11 09:06:26 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales openssh-client procps sshpass telnet unzip vim git wget APT_MIRROR=http://deb.debian.org DOWNLOAD_URL=https://download.jumpserver.org PIP_MIRROR=https://pypi.org/simple PIP_JMS_MIRROR=https://pypi.org/simple /bin/sh -c echo > /opt/jumpserver/config.yml && rm -rf /tmp/build # buildkit

2023-09-11 09:06:26 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2023-09-11 09:06:26 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2023-09-11 09:06:26 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2023-09-11 09:06:26 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2023-09-11 09:06:26 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-09-11 09:06:26 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./entrypoint.sh"]

Details
Created

2023-09-11 08:59:37 UTC

Size

461 MB

Content Digest
Environment
GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

zh_CN.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

58.1.0

PYTHON_VERSION

3.9.18


Layers

[#000] sha256:5b18dd3a8fc62fc571f4c7e2207d4072601fe59c0a6d3d739f4fddbff7f0dae3 - 5.37% (24.8 MB)

[#001] sha256:e2680e37a22159bd1e90b155993cc6bef485aefc160c70fcdc9fd6883c278761 - 0.55% (2.52 MB)

[#002] sha256:b1cdb7b7fe08783fda367402f99ffa1aba540163591fb085603548e9b0f86883 - 2.3% (10.6 MB)

[#003] sha256:8fade7e9e52b8b3cf479c82bcb9ecd37681d9d36893024ade137e7748c1603f0 - 0.0% (233 Bytes)

[#004] sha256:a183cc149c3b091430b124e748d75ca2a192e4091ec42485f6b8109d43de7657 - 0.6% (2.79 MB)

[#005] sha256:bbb13d9fe114b67a2ebd071607785bb823d348f1e79042667fa8aa6228b7dec8 - 39.16% (181 MB)

[#006] sha256:198bfe2c8428a4b17ad67602d8f154eeaf94e1fde71f8e37d61193b383f7ed36 - 6.75% (31.1 MB)

[#007] sha256:c0409da0f708b748d6b70d533d0e61e15f783e839702a20ba9810990190ca39b - 0.0% (117 Bytes)

[#008] sha256:cd81985b42e23b6a13097e09858c4893bdbbd76724af59939b216d2e624dc954 - 0.0% (2.9 KB)

[#009] sha256:76f8c7a83c10e9a00e1389b580b1c90d35940d81874f4850c3b576e719f1aea7 - 29.01% (134 MB)

[#010] sha256:4c835e699df7a1bfc7d8c718a21828ce78fbef19229088fa39823eded2c47851 - 16.26% (75 MB)

[#011] sha256:8ebac6409fcf0cbe67eb5c7f0fabb34105b683552d6c7506a86eae4892012b42 - 0.0% (204 Bytes)

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


History
2023-08-15 23:40:25 UTC

/bin/sh -c #(nop) ADD file:cc6c5417b68ddd7a05f4a3896e20ff80bbd9ae8951adb686823f4039db4eba9a in /

2023-08-15 23:40:26 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-08-25 15:56:19 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-08-25 15:56:19 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-08-25 15:56:19 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

2023-08-25 15:56:19 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2023-08-25 15:56:19 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.9.18

2023-09-01 11:01:26 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 libexpat1-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"; 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-system-expat --without-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:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" 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); 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; rm -rf /var/lib/apt/lists/*; python3 --version # buildkit

2023-09-01 11:01:26 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 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

2023-09-01 11:01:26 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-09-01 11:01:26 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=58.1.0

2023-09-01 11:01:26 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

2023-09-01 11:01:26 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

2023-09-01 11:01:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2023-09-01 11:01:38 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-09-11 08:56:29 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH

2023-09-11 08:56:29 UTC (buildkit.dockerfile.v0)

MAINTAINER JumpServer Team <ibuler@qq.com>

2023-09-11 08:56:29 UTC (buildkit.dockerfile.v0)

ARG BUILD_DEPENDENCIES= g++ make pkg-config

2023-09-11 08:56:29 UTC (buildkit.dockerfile.v0)

ARG DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev

2023-09-11 08:56:29 UTC (buildkit.dockerfile.v0)

ARG TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales openssh-client procps sshpass telnet unzip vim git wget

2023-09-11 08:56:29 UTC (buildkit.dockerfile.v0)

ARG APT_MIRROR=http://mirrors.ustc.edu.cn

2023-09-11 08:56:29 UTC (buildkit.dockerfile.v0)

RUN |5 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales openssh-client procps sshpass telnet unzip vim git wget APT_MIRROR=http://deb.debian.org /bin/sh -c sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list && rm -f /etc/apt/apt.conf.d/docker-clean && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && apt-get update && apt-get -y install --no-install-recommends ${BUILD_DEPENDENCIES} && 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 "set mouse-=a" > ~/.vimrc && echo "no" | dpkg-reconfigure dash && echo "zh_CN.UTF-8" | dpkg-reconfigure locales && sed -i "s@# export @export @g" ~/.bashrc && sed -i "s@# alias @alias @g" ~/.bashrc && rm -rf /var/lib/apt/lists/* # buildkit

2023-09-11 08:56:29 UTC (buildkit.dockerfile.v0)

ARG DOWNLOAD_URL=https://download.jumpserver.org

2023-09-11 08:56:35 UTC (buildkit.dockerfile.v0)

RUN |6 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales openssh-client procps sshpass telnet unzip vim git wget APT_MIRROR=http://deb.debian.org DOWNLOAD_URL=https://download.jumpserver.org /bin/sh -c set -ex && if [ "${TARGETARCH}" == "amd64" ] || [ "${TARGETARCH}" == "arm64" ]; then mkdir -p /opt/oracle; cd /opt/oracle; wget ${DOWNLOAD_URL}/public/instantclient-basiclite-linux.${TARGETARCH}-19.10.0.0.0.zip; unzip instantclient-basiclite-linux.${TARGETARCH}-19.10.0.0.0.zip; echo "/opt/oracle/instantclient_19_10" > /etc/ld.so.conf.d/oracle-instantclient.conf; ldconfig; rm -f instantclient-basiclite-linux.${TARGETARCH}-19.10.0.0.0.zip; fi # buildkit

2023-09-11 08:56:35 UTC (buildkit.dockerfile.v0)

WORKDIR /tmp/build

2023-09-11 08:56:35 UTC (buildkit.dockerfile.v0)

COPY ./requirements ./requirements # buildkit

2023-09-11 08:56:35 UTC (buildkit.dockerfile.v0)

ARG PIP_MIRROR=https://pypi.douban.com/simple

2023-09-11 08:56:35 UTC (buildkit.dockerfile.v0)

ARG PIP_JMS_MIRROR=https://pypi.douban.com/simple

2023-09-11 08:59:33 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales openssh-client procps sshpass telnet unzip vim git wget APT_MIRROR=http://deb.debian.org DOWNLOAD_URL=https://download.jumpserver.org PIP_MIRROR=https://pypi.org/simple PIP_JMS_MIRROR=https://pypi.org/simple /bin/sh -c set -ex && pip config set global.index-url ${PIP_MIRROR} && pip install --upgrade pip && pip install --upgrade setuptools wheel && if [ "${TARGETARCH}" == "loong64" ]; then pip install https://download.jumpserver.org/pypi/simple/cryptography/cryptography-38.0.4-cp39-cp39-linux_loongarch64.whl; pip install https://download.jumpserver.org/pypi/simple/greenlet/greenlet-1.1.2-cp39-cp39-linux_loongarch64.whl; pip install https://download.jumpserver.org/pypi/simple/PyNaCl/PyNaCl-1.5.0-cp39-cp39-linux_loongarch64.whl; fi && pip install $(grep -E 'jms|jumpserver' requirements/requirements.txt) -i ${PIP_JMS_MIRROR} && pip install -r requirements/requirements.txt # buildkit

2023-09-11 08:59:36 UTC (buildkit.dockerfile.v0)

COPY /opt/jumpserver/release/jumpserver /opt/jumpserver # buildkit

2023-09-11 08:59:37 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales openssh-client procps sshpass telnet unzip vim git wget APT_MIRROR=http://deb.debian.org DOWNLOAD_URL=https://download.jumpserver.org PIP_MIRROR=https://pypi.org/simple PIP_JMS_MIRROR=https://pypi.org/simple /bin/sh -c echo > /opt/jumpserver/config.yml && rm -rf /tmp/build # buildkit

2023-09-11 08:59:37 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2023-09-11 08:59:37 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2023-09-11 08:59:37 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2023-09-11 08:59:37 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2023-09-11 08:59:37 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-09-11 08:59:37 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./entrypoint.sh"]

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