Namespace
jumpserver
Image / Tag
core:v3.5.0-hotfix
Content Digest
sha256:5ec1a2353f39af1425107824d1853da8e4751dcc20aef7bda23f24706cffb436
Details
Created

2023-07-27 02:14:14 UTC

Size

494 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

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

58.1.0

PYTHON_VERSION

3.9.17


Layers

[#000] sha256:8b91b88d557765cd8c6802668755a3f6dc4337b6ce15a17e4857139e5fc964f3 - 5.24% (25.9 MB)

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

[#002] sha256:62d3f73790090aca09f804af50ef9b924366c994d8645b3aa4f7d2d7aca12dd9 - 2.13% (10.5 MB)

[#003] sha256:1b3b1e0ebcad50cdb15fbfe88b8fa14cf0c6d987f91e4f492c5e93d9ae6e47ad - 0.0% (231 Bytes)

[#004] sha256:643dce9ea5c9c064c621dc1b271c63cd0ec2f80054262d775e7f8d2b2545b520 - 0.56% (2.79 MB)

[#005] sha256:7e49e8314c6407b1f1d9d9360815acfac143de9b723c17ae9d51400d837f5688 - 38.0% (188 MB)

[#006] sha256:c084be6989084b7b662b02e721a4236b7a40a586b6999d73e47980f215a59cb2 - 7.37% (36.4 MB)

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

[#008] sha256:005f9302dafff6b014c13173793c3b2222d275c6eea0ac8189c3928c04691236 - 0.0% (2.88 KB)

[#009] sha256:3ebb983364422d8dd28f5edfbebba87c60630e43412f44bdcc41d2af879bbdd4 - 30.98% (153 MB)

[#010] sha256:23890821d5959267886c082b8584ecb15de449e37024353b433975c6ffed6cca - 15.18% (75 MB)

[#011] sha256:6b3693fe9e27ac8a26fdb48ced970d1bb8416bdb99d9261095b5dfb4d7152b8e - 0.0% (204 Bytes)

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


History
2023-06-12 23:21:32 UTC

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

2023-06-12 23:21:32 UTC

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

2023-06-30 13:18:39 UTC (buildkit.dockerfile.v0)

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

2023-06-30 13:18:39 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-06-30 13:18:39 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-06-30 13:18:39 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2023-06-30 13:18:39 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.9.17

2023-06-30 13:29:48 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; rm -f config.sub config.guess; wget -O config.sub "git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD"; wget -O config.guess "git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD"; 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 '/=>/ { print $(NF-1) }' | 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-06-30 13:29:48 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-06-30 13:29:48 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-06-30 13:29:48 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=58.1.0

2023-06-30 13:29:48 UTC (buildkit.dockerfile.v0)

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

2023-06-30 13:29:48 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-06-30 13:30:03 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-06-30 13:30:03 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-07-26 12:03:59 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH

2023-07-26 12:03:59 UTC (buildkit.dockerfile.v0)

MAINTAINER JumpServer Team <ibuler@qq.com>

2023-07-26 12:03:59 UTC (buildkit.dockerfile.v0)

ARG BUILD_DEPENDENCIES= g++ make pkg-config

2023-07-26 12:03:59 UTC (buildkit.dockerfile.v0)

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

2023-07-26 12:03:59 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-07-26 12:03:59 UTC (buildkit.dockerfile.v0)

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

2023-07-26 12:03:59 UTC (buildkit.dockerfile.v0)

RUN |5 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-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-07-26 12:03:59 UTC (buildkit.dockerfile.v0)

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

2023-07-26 12:04:14 UTC (buildkit.dockerfile.v0)

RUN |6 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-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-07-26 12:04:15 UTC (buildkit.dockerfile.v0)

WORKDIR /tmp/build

2023-07-26 12:04:15 UTC (buildkit.dockerfile.v0)

COPY ./requirements ./requirements # buildkit

2023-07-26 12:04:15 UTC (buildkit.dockerfile.v0)

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

2023-07-26 12:04:15 UTC (buildkit.dockerfile.v0)

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

2023-07-26 12:08:45 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-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; pip install https://download.jumpserver.org/pypi/simple/grpcio/grpcio-1.54.2-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-07-27 02:14:13 UTC (buildkit.dockerfile.v0)

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

2023-07-27 02:14:14 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-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-07-27 02:14:14 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2023-07-27 02:14:14 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2023-07-27 02:14:14 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2023-07-27 02:14:14 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2023-07-27 02:14:14 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-07-27 02:14:14 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./entrypoint.sh"]

Details
Created

2023-07-27 02:14:13 UTC

Size

463 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

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

58.1.0

PYTHON_VERSION

3.9.17


Layers

[#000] sha256:d191be7a3c9fa95847a482db8211b6f85b45096c7817fdad4d7661ee7ff1a421 - 5.34% (24.7 MB)

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

[#002] sha256:67d4352d5792817611e6c947272b4ea177d91e3c3b392a17f9ebaada6c286135 - 2.29% (10.6 MB)

[#003] sha256:c685bec691552612e5ad9a49c0d6b5a4617b678c98fec48e39fe4ebeff679865 - 0.0% (231 Bytes)

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

[#005] sha256:575df1024db478c905b8372a97825b049b8350a4818d4aeb971889ca5e4e663f - 38.93% (180 MB)

[#006] sha256:109b216293a56755dafaaf83c6a30e4092daad8e54737fb88218cacfb2f9589b - 6.72% (31.1 MB)

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

[#008] sha256:36f8fde13456bef68498e75511216195b02972bd8ba3500c324296338a1b6c6b - 0.0% (2.88 KB)

[#009] sha256:b1e5f7bb2e496839f67c1c754f414d3a6a597b092d05a225d82c8f918374fae8 - 29.37% (136 MB)

[#010] sha256:2ab355553533f58c77c656b6f1d9e125985d0e92a57f22cb43a07979ced00206 - 16.2% (75 MB)

[#011] sha256:2630023837012894d61b1a2f33c5f4f9294253a6bbd19787dfc6e780322201e4 - 0.0% (206 Bytes)

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


History
2023-06-12 23:40:52 UTC

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

2023-06-12 23:40:52 UTC

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

2023-06-30 13:18:37 UTC (buildkit.dockerfile.v0)

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

2023-06-30 13:18:37 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-06-30 13:18:37 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-06-30 13:18:37 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2023-06-30 13:18:37 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.9.17

2023-06-30 13:26:36 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; rm -f config.sub config.guess; wget -O config.sub "git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD"; wget -O config.guess "git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD"; 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 '/=>/ { print $(NF-1) }' | 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-06-30 13:26:36 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-06-30 13:26:36 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-06-30 13:26:36 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=58.1.0

2023-06-30 13:26:36 UTC (buildkit.dockerfile.v0)

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

2023-06-30 13:26:36 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-06-30 13:26:48 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-06-30 13:26:48 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-07-26 12:01:42 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH

2023-07-26 12:01:42 UTC (buildkit.dockerfile.v0)

MAINTAINER JumpServer Team <ibuler@qq.com>

2023-07-26 12:01:42 UTC (buildkit.dockerfile.v0)

ARG BUILD_DEPENDENCIES= g++ make pkg-config

2023-07-26 12:01:42 UTC (buildkit.dockerfile.v0)

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

2023-07-26 12:01:42 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-07-26 12:01:42 UTC (buildkit.dockerfile.v0)

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

2023-07-26 12:01:42 UTC (buildkit.dockerfile.v0)

RUN |5 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-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-07-26 12:01:42 UTC (buildkit.dockerfile.v0)

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

2023-07-26 12:01:51 UTC (buildkit.dockerfile.v0)

RUN |6 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-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-07-26 12:01:51 UTC (buildkit.dockerfile.v0)

WORKDIR /tmp/build

2023-07-26 12:01:51 UTC (buildkit.dockerfile.v0)

COPY ./requirements ./requirements # buildkit

2023-07-26 12:01:51 UTC (buildkit.dockerfile.v0)

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

2023-07-26 12:01:51 UTC (buildkit.dockerfile.v0)

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

2023-07-26 12:03:30 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-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; pip install https://download.jumpserver.org/pypi/simple/grpcio/grpcio-1.54.2-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-07-27 02:14:13 UTC (buildkit.dockerfile.v0)

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

2023-07-27 02:14:13 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-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-07-27 02:14:13 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2023-07-27 02:14:13 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2023-07-27 02:14:13 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2023-07-27 02:14:13 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2023-07-27 02:14:13 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-07-27 02:14:13 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