Namespace
jumpserver
Image / Tag
core:v2.26.2
Content Digest
sha256:bcc797f2c622e5af5f68e6203214da2fb0203dc779ddb5c76b4894b0aa0a27cd
Details
Created

2022-11-24 18:24:06 UTC

Size

511 MB

Content Digest
Environment
GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

zh_CN.UTF-8

ORACLE_FILE

instantclient-basiclite-linux.amd64-19.10.0.0.0dbru.zip

PATH

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

PIP_JMS_MIRROR

https://pypi.douban.com/simple

PIP_MIRROR

https://pypi.douban.com/simple

PYTHON_GET_PIP_SHA256

1e501cf004eac1b7eb1f97266d28f995ae835d30250bec7f8850562703067dc6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/66030fa03382b4914d4c4d0896961a0bdeeeb274/public/get-pip.py

PYTHON_PIP_VERSION

22.0.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.15

VERSION

v2.26.2


Layers

[#000] sha256:a603fa5e3b4127f210503aaa6189abf6286ee5a73deeaab460f8f33ebc6b64e2 - 5.87% (30 MB)

[#001] sha256:b00aaacf759c581712fa578a6b4e8e0b9fc780919a5d835a168457b754755644 - 0.2% (1.03 MB)

[#002] sha256:372d780866a7e569457582348fbf850edc018b6b015335a4a56403fe299ff04b - 2.12% (10.8 MB)

[#003] sha256:feb836cf9ff261a0d9feb57f8808540cbb140d6d9e957af5daad2767d65fec36 - 0.0% (232 Bytes)

[#004] sha256:6a0e4abca74a97205cba7ecb141fd4210bfab67dddb55e3a1fdaa6bcefbc44de - 0.59% (3.03 MB)

[#005] sha256:a7e163cd0a2f86ba6c83d546f5e1b29fa76a3a70045384a36e079a77396b7b59 - 31.24% (160 MB)

[#006] sha256:b19566b9704f6d96f730fe4438445ecf4be167b01b6db55700ecfb41487a4fea - 7.13% (36.4 MB)

[#007] sha256:b2c22c2c1b65c47a5a1e29e3cf59983f2a58685076f90a3038730da7883808ef - 0.0% (124 Bytes)

[#008] sha256:6bec8bddef88f77ee389ceab4b62e6aec413a91f44bdde5dda10467829c2c714 - 0.0% (2.47 KB)

[#009] sha256:56cc1711ac7e3221802ad4db18979ead7c160ba6efb13bae996f85b3d835768f - 37.1% (189 MB)

[#010] sha256:6cb0d7a251baec5c47b18074c4e647d4f795a9e95dfe1ae0b32738f7b4934de6 - 7.87% (40.2 MB)

[#011] sha256:c6ae098f0694e44e183d57eca27c15f79ec5c583c565a49ea6f5d05104275361 - 7.88% (40.2 MB)

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


History
2022-11-15 04:04:54 UTC

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

2022-11-15 04:04:54 UTC

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

2022-11-15 18:54:42 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2022-11-15 18:54:42 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2022-11-15 18:54:48 UTC

/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/*

2022-11-15 21:38:09 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2022-11-15 22:07:02 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.15

2022-11-15 22:13:31 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg dirmngr libbluetooth-dev libbz2-dev libc6-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; command -v gpgconf > /dev/null && 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)"; make -j "$nproc" LDFLAGS="-Wl,--strip-all" ; 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' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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

2022-11-15 22:13:32 UTC

/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

2022-11-15 22:13:32 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=22.0.4

2022-11-15 22:13:32 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2022-11-16 06:58:46 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/66030fa03382b4914d4c4d0896961a0bdeeeb274/public/get-pip.py

2022-11-16 06:58:46 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=1e501cf004eac1b7eb1f97266d28f995ae835d30250bec7f8850562703067dc6

2022-11-16 06:58:57 UTC

/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

2022-11-16 06:58:57 UTC

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

2022-11-24 18:17:58 UTC (buildkit.dockerfile.v0)

MAINTAINER JumpServer Team <ibuler@qq.com>

2022-11-24 18:17:58 UTC (buildkit.dockerfile.v0)

ARG BUILD_DEPENDENCIES= g++ make pkg-config

2022-11-24 18:17:58 UTC (buildkit.dockerfile.v0)

ARG DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass

2022-11-24 18:17:58 UTC (buildkit.dockerfile.v0)

ARG TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget

2022-11-24 18:17:58 UTC (buildkit.dockerfile.v0)

RUN |3 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget /bin/sh -c sed -i 's@http://.*.debian.org@http://mirrors.ustc.edu.cn@g' /etc/apt/sources.list && 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} && localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8 && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && mkdir -p /root/.ssh/ && echo "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null" > /root/.ssh/config && sed -i "s@# alias l@alias l@g" ~/.bashrc && echo "set mouse-=a" > ~/.vimrc && echo "no" | dpkg-reconfigure dash && rm -rf /var/lib/apt/lists/* # buildkit

2022-11-24 18:17:58 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH

2022-11-24 18:17:58 UTC (buildkit.dockerfile.v0)

ARG ORACLE_LIB_MAJOR=19

2022-11-24 18:17:58 UTC (buildkit.dockerfile.v0)

ARG ORACLE_LIB_MINOR=10

2022-11-24 18:17:58 UTC (buildkit.dockerfile.v0)

ENV ORACLE_FILE=instantclient-basiclite-linux.amd64-19.10.0.0.0dbru.zip

2022-11-24 18:18:04 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget TARGETARCH=amd64 ORACLE_LIB_MAJOR=19 ORACLE_LIB_MINOR=10 /bin/sh -c mkdir -p /opt/oracle/ && cd /opt/oracle/ && wget https://download.jumpserver.org/files/oracle/${ORACLE_FILE} && unzip instantclient-basiclite-linux.${TARGETARCH-amd64}-19.10.0.0.0dbru.zip && mv instantclient_${ORACLE_LIB_MAJOR}_${ORACLE_LIB_MINOR} instantclient && echo "/opt/oracle/instantclient" > /etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig && rm -f ${ORACLE_FILE} # buildkit

2022-11-24 18:18:04 UTC (buildkit.dockerfile.v0)

WORKDIR /tmp/build

2022-11-24 18:18:04 UTC (buildkit.dockerfile.v0)

COPY ./requirements ./requirements # buildkit

2022-11-24 18:18:04 UTC (buildkit.dockerfile.v0)

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

2022-11-24 18:18:04 UTC (buildkit.dockerfile.v0)

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

2022-11-24 18:18:04 UTC (buildkit.dockerfile.v0)

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

2022-11-24 18:18:04 UTC (buildkit.dockerfile.v0)

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

2022-11-24 18:24:03 UTC (buildkit.dockerfile.v0)

RUN |8 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget TARGETARCH=amd64 ORACLE_LIB_MAJOR=19 ORACLE_LIB_MINOR=10 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.douban.com/simple /bin/sh -c pip install --upgrade pip==20.2.4 setuptools==49.6.0 wheel==0.34.2 -i ${PIP_MIRROR} && pip install --no-cache-dir $(grep -E 'jms|jumpserver' requirements/requirements.txt) -i ${PIP_JMS_MIRROR} && pip install --no-cache-dir -r requirements/requirements.txt -i ${PIP_MIRROR} && rm -rf ~/.cache/pip # buildkit

2022-11-24 18:24:03 UTC (buildkit.dockerfile.v0)

ARG VERSION

2022-11-24 18:24:03 UTC (buildkit.dockerfile.v0)

ENV VERSION=v2.26.2

2022-11-24 18:24:05 UTC (buildkit.dockerfile.v0)

ADD . . # buildkit

2022-11-24 18:24:06 UTC (buildkit.dockerfile.v0)

RUN |9 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget TARGETARCH=amd64 ORACLE_LIB_MAJOR=19 ORACLE_LIB_MINOR=10 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.douban.com/simple VERSION=v2.26.2 /bin/sh -c cd utils && bash -ixeu build.sh && mv ../release/jumpserver /opt/jumpserver && rm -rf /tmp/build && echo > /opt/jumpserver/config.yml # buildkit

2022-11-24 18:24:06 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2022-11-24 18:24:06 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2022-11-24 18:24:06 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2022-11-24 18:24:06 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2022-11-24 18:24:06 UTC (buildkit.dockerfile.v0)

EXPOSE map[8070/tcp:{}]

2022-11-24 18:24:06 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2022-11-24 18:24:06 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./entrypoint.sh"]

Details
Created

2022-11-24 18:30:07 UTC

Size

488 MB

Content Digest
Environment
GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

zh_CN.UTF-8

ORACLE_FILE

instantclient-basiclite-linux.arm64-19.10.0.0.0dbru.zip

PATH

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

PIP_JMS_MIRROR

https://pypi.douban.com/simple

PIP_MIRROR

https://pypi.douban.com/simple

PYTHON_GET_PIP_SHA256

1e501cf004eac1b7eb1f97266d28f995ae835d30250bec7f8850562703067dc6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/66030fa03382b4914d4c4d0896961a0bdeeeb274/public/get-pip.py

PYTHON_PIP_VERSION

22.0.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.15

VERSION

v2.26.2


Layers

[#000] sha256:f3ac85625e767ee0ec42b5a2ef93880251cd973b86f77124c4ed39bccd2f8bf9 - 5.88% (28.7 MB)

[#001] sha256:edbd8719487c40bfcc7d42d53f202d1dbbbb7ac0fb4e4919ed791664b7f4e47b - 0.21% (1.02 MB)

[#002] sha256:3b2c396b2427ef0f765696eedf7455011cfbc255c4497548c7608acb5867f106 - 2.22% (10.8 MB)

[#003] sha256:275dc272319ae130878994ac98d3d0bebe61fd4a5708d028883084d32638e79b - 0.0% (232 Bytes)

[#004] sha256:c5a6dabc1c443af335cca716224d818309fe1af60492983e702da0d5854d68a3 - 0.62% (3.03 MB)

[#005] sha256:514082944b40dce2d6ab113dad35295cd067a4b966b4451afa9e184f22478e0f - 31.81% (155 MB)

[#006] sha256:7c858236c2d0dd64d12195c314e15b97581d7a011f4bbc3dc0b61eeb6dfc032e - 6.38% (31.1 MB)

[#007] sha256:0090ad390ac5f4f6ef784d383510a867cedf80efaa721f96bccbc6e2d340eef0 - 0.0% (124 Bytes)

[#008] sha256:4749036b6b35018b5122eba631f381b31b6adb213958ac40d9bcf5fe12d43402 - 0.0% (2.47 KB)

[#009] sha256:79a6004a5128b7901592719fb72bf8b07acac4949199397d78cf14770d7b3931 - 36.4% (178 MB)

[#010] sha256:a3e98f6c064888731cda71da9af08a8bf08f9b42a151b6f0e9409328521be7d8 - 8.24% (40.2 MB)

[#011] sha256:290fbe16d5320349c58c3fda4f0396e05253cde9bac1254c81ffe922c57e9ac1 - 8.24% (40.2 MB)

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


History
2022-11-15 01:41:20 UTC

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

2022-11-15 01:41:20 UTC

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

2022-11-15 07:41:31 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2022-11-15 07:41:31 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2022-11-15 07:41:36 UTC

/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/*

2022-11-15 09:55:05 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2022-11-15 10:14:41 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.15

2022-11-15 10:19:04 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg dirmngr libbluetooth-dev libbz2-dev libc6-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; command -v gpgconf > /dev/null && 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)"; make -j "$nproc" LDFLAGS="-Wl,--strip-all" ; 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' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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

2022-11-15 10:19:05 UTC

/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

2022-11-15 10:19:05 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=22.0.4

2022-11-15 10:19:05 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2022-11-16 01:20:58 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/66030fa03382b4914d4c4d0896961a0bdeeeb274/public/get-pip.py

2022-11-16 01:20:58 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=1e501cf004eac1b7eb1f97266d28f995ae835d30250bec7f8850562703067dc6

2022-11-16 01:21:06 UTC

/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

2022-11-16 01:21:07 UTC

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

2022-11-24 18:18:34 UTC (buildkit.dockerfile.v0)

MAINTAINER JumpServer Team <ibuler@qq.com>

2022-11-24 18:18:34 UTC (buildkit.dockerfile.v0)

ARG BUILD_DEPENDENCIES= g++ make pkg-config

2022-11-24 18:18:34 UTC (buildkit.dockerfile.v0)

ARG DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass

2022-11-24 18:18:34 UTC (buildkit.dockerfile.v0)

ARG TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget

2022-11-24 18:18:34 UTC (buildkit.dockerfile.v0)

RUN |3 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget /bin/sh -c sed -i 's@http://.*.debian.org@http://mirrors.ustc.edu.cn@g' /etc/apt/sources.list && 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} && localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8 && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && mkdir -p /root/.ssh/ && echo "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null" > /root/.ssh/config && sed -i "s@# alias l@alias l@g" ~/.bashrc && echo "set mouse-=a" > ~/.vimrc && echo "no" | dpkg-reconfigure dash && rm -rf /var/lib/apt/lists/* # buildkit

2022-11-24 18:18:34 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH

2022-11-24 18:18:34 UTC (buildkit.dockerfile.v0)

ARG ORACLE_LIB_MAJOR=19

2022-11-24 18:18:34 UTC (buildkit.dockerfile.v0)

ARG ORACLE_LIB_MINOR=10

2022-11-24 18:18:34 UTC (buildkit.dockerfile.v0)

ENV ORACLE_FILE=instantclient-basiclite-linux.arm64-19.10.0.0.0dbru.zip

2022-11-24 18:18:47 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget TARGETARCH=arm64 ORACLE_LIB_MAJOR=19 ORACLE_LIB_MINOR=10 /bin/sh -c mkdir -p /opt/oracle/ && cd /opt/oracle/ && wget https://download.jumpserver.org/files/oracle/${ORACLE_FILE} && unzip instantclient-basiclite-linux.${TARGETARCH-amd64}-19.10.0.0.0dbru.zip && mv instantclient_${ORACLE_LIB_MAJOR}_${ORACLE_LIB_MINOR} instantclient && echo "/opt/oracle/instantclient" > /etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig && rm -f ${ORACLE_FILE} # buildkit

2022-11-24 18:18:48 UTC (buildkit.dockerfile.v0)

WORKDIR /tmp/build

2022-11-24 18:18:49 UTC (buildkit.dockerfile.v0)

COPY ./requirements ./requirements # buildkit

2022-11-24 18:18:49 UTC (buildkit.dockerfile.v0)

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

2022-11-24 18:18:49 UTC (buildkit.dockerfile.v0)

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

2022-11-24 18:18:49 UTC (buildkit.dockerfile.v0)

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

2022-11-24 18:18:49 UTC (buildkit.dockerfile.v0)

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

2022-11-24 18:30:03 UTC (buildkit.dockerfile.v0)

RUN |8 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget TARGETARCH=arm64 ORACLE_LIB_MAJOR=19 ORACLE_LIB_MINOR=10 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.douban.com/simple /bin/sh -c pip install --upgrade pip==20.2.4 setuptools==49.6.0 wheel==0.34.2 -i ${PIP_MIRROR} && pip install --no-cache-dir $(grep -E 'jms|jumpserver' requirements/requirements.txt) -i ${PIP_JMS_MIRROR} && pip install --no-cache-dir -r requirements/requirements.txt -i ${PIP_MIRROR} && rm -rf ~/.cache/pip # buildkit

2022-11-24 18:30:03 UTC (buildkit.dockerfile.v0)

ARG VERSION

2022-11-24 18:30:03 UTC (buildkit.dockerfile.v0)

ENV VERSION=v2.26.2

2022-11-24 18:30:06 UTC (buildkit.dockerfile.v0)

ADD . . # buildkit

2022-11-24 18:30:07 UTC (buildkit.dockerfile.v0)

RUN |9 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget TARGETARCH=arm64 ORACLE_LIB_MAJOR=19 ORACLE_LIB_MINOR=10 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.douban.com/simple VERSION=v2.26.2 /bin/sh -c cd utils && bash -ixeu build.sh && mv ../release/jumpserver /opt/jumpserver && rm -rf /tmp/build && echo > /opt/jumpserver/config.yml # buildkit

2022-11-24 18:30:07 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2022-11-24 18:30:07 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2022-11-24 18:30:07 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2022-11-24 18:30:07 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2022-11-24 18:30:07 UTC (buildkit.dockerfile.v0)

EXPOSE map[8070/tcp:{}]

2022-11-24 18:30:07 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2022-11-24 18:30:07 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