Namespace
jumpserver
Image / Tag
core:v2.22.1
Content Digest
sha256:81d09f6218506711565594f6c570bb620018076829ec29282157089729d020af
Details
Created

2022-05-25 09:01:43 UTC

Size

540 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

PIP_JMS_MIRROR

https://mirrors.aliyun.com/pypi/simple/

PIP_MIRROR

https://mirrors.aliyun.com/pypi/simple/

PYTHON_GET_PIP_SHA256

c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12

VERSION

v2.22.1


Layers

[#000] sha256:a2abf6c4d29d43a4bf9fbb769f524d0fb36a2edab49819c1bf3e76f409f953ea - 5.53% (29.9 MB)

[#001] sha256:625294dad115cba7d8e323b53306f6daaa85d021e1e19c78970e24bd181ba689 - 0.19% (1.03 MB)

[#002] sha256:08df3e6c0bded5f55eb27b3d2c3cdfd71af33f8adca5ba9dccd152ad5b85956a - 1.9% (10.3 MB)

[#003] sha256:7e941b2681b04abdca41c4ccdfe84e54b7ff59ece9051a22e370c212ed2781e6 - 0.0% (234 Bytes)

[#004] sha256:8ca822cf3e83a2db75706220bc757df994b66ace274d0ea9b3307cb715c3da69 - 0.47% (2.52 MB)

[#005] sha256:4319ffddc6aee7a8dcc0347de9e23d7384925818f567e0b3ed72376a062d7b38 - 31.78% (172 MB)

[#006] sha256:af5fa96281aa876172d58e872faa2b629577eca498d5efa7dc528e4b16df1386 - 6.92% (37.4 MB)

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

[#008] sha256:9b65304b06145d89f0f18bd85459b0d0de99cd08a801720e11e7a5cc63d099ff - 0.0% (2.38 KB)

[#009] sha256:f49f3e9e93b242c846669f7aa1de28e231f5503a156f4ff12dc7cc127e50ebb8 - 38.35% (207 MB)

[#010] sha256:195873e12a6d30dae22906736d516ef37043c40ac47a996c884b5afa1a9d824f - 7.43% (40.1 MB)

[#011] sha256:464ad489746467f1e0eaecedce04a83d23a83e4d0f8025d3ee54bb73b5e8f64e - 7.43% (40.1 MB)


History
2021-12-21 01:22:43 UTC

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

2021-12-21 01:22:43 UTC

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

2021-12-21 08:28:59 UTC

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

2021-12-21 08:29:00 UTC

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

2021-12-21 10:46:48 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase ; rm -rf /var/lib/apt/lists/*

2021-12-21 10:46:48 UTC

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

2021-12-21 10:46:48 UTC

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

2021-12-21 10:56:47 UTC

/bin/sh -c set -ex && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get install -y --no-install-recommends dpkg-dev gcc 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 $(command -v gpg > /dev/null || echo 'gnupg dirmngr') && 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" && export GNUPGHOME="$(mktemp -d)" && 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 -xJC /usr/src/python --strip-components=1 -f 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 --with-system-ffi --without-ensurepip && make -j "$(nproc)" LDFLAGS="-Wl,--strip-all" && make install && 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 '*.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

2021-12-21 10:56:49 UTC

/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config

2021-12-21 10:56:49 UTC

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

2021-12-21 10:56:49 UTC

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

2021-12-21 10:56:50 UTC

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

2021-12-21 10:56:50 UTC

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

2021-12-21 10:57:08 UTC

/bin/sh -c set -ex; 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 --check --strict -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; pip --version; 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' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2021-12-21 10:57:09 UTC

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

2022-04-22 06:33:37 UTC (buildkit.dockerfile.v0)

MAINTAINER JumpServer Team <ibuler@qq.com>

2022-04-22 06:33:37 UTC (buildkit.dockerfile.v0)

ARG BUILD_DEPENDENCIES= g++ make pkg-config

2022-04-22 06:33:37 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 sshpass

2022-04-22 06:33:37 UTC (buildkit.dockerfile.v0)

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

2022-04-22 06:33:37 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 sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim wget /bin/sh -c sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && sed -i 's/security.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && apt update && apt -y install ${BUILD_DEPENDENCIES} && apt -y install ${DEPENDENCIES} && apt -y install ${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 && rm -rf /var/lib/apt/lists/* && mv /bin/sh /bin/sh.bak && ln -s /bin/bash /bin/sh # buildkit

2022-04-24 02:58:05 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 sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim wget /bin/sh -c mkdir -p /opt/oracle/ && wget https://download.jumpserver.org/public/instantclient-basiclite-linux.x64-21.1.0.0.0.tar && tar xf instantclient-basiclite-linux.x64-21.1.0.0.0.tar -C /opt/oracle/ && echo "/opt/oracle/instantclient_21_1" > /etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig && rm -f instantclient-basiclite-linux.x64-21.1.0.0.0.tar # buildkit

2022-04-24 02:58:06 UTC (buildkit.dockerfile.v0)

WORKDIR /tmp/build

2022-05-16 12:10:52 UTC (buildkit.dockerfile.v0)

COPY ./requirements ./requirements # buildkit

2022-05-16 12:10:52 UTC (buildkit.dockerfile.v0)

ARG PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple/

2022-05-16 12:10:52 UTC (buildkit.dockerfile.v0)

ENV PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple/

2022-05-16 12:10:52 UTC (buildkit.dockerfile.v0)

ARG PIP_JMS_MIRROR=https://mirrors.aliyun.com/pypi/simple/

2022-05-16 12:10:52 UTC (buildkit.dockerfile.v0)

ENV PIP_JMS_MIRROR=https://mirrors.aliyun.com/pypi/simple/

2022-05-16 12:15:17 UTC (buildkit.dockerfile.v0)

RUN |5 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 sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim wget PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple/ PIP_JMS_MIRROR=https://mirrors.aliyun.com/pypi/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-05-16 12:15:17 UTC (buildkit.dockerfile.v0)

ARG VERSION

2022-05-16 12:15:17 UTC (buildkit.dockerfile.v0)

ENV VERSION=v2.22.1

2022-05-25 09:01:41 UTC (buildkit.dockerfile.v0)

ADD . . # buildkit

2022-05-25 09:01:43 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 sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim wget PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple/ PIP_JMS_MIRROR=https://mirrors.aliyun.com/pypi/simple/ VERSION=v2.22.1 /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-05-25 09:01:43 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2022-05-25 09:01:43 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2022-05-25 09:01:43 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2022-05-25 09:01:43 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2022-05-25 09:01:43 UTC (buildkit.dockerfile.v0)

EXPOSE map[8070/tcp:{}]

2022-05-25 09:01:43 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2022-05-25 09:01:43 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./entrypoint.sh"]

Details
Created

2022-05-25 09:01:38 UTC

Size

522 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

PIP_JMS_MIRROR

https://mirrors.aliyun.com/pypi/simple/

PIP_MIRROR

https://mirrors.aliyun.com/pypi/simple/

PYTHON_GET_PIP_SHA256

c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12

VERSION

v2.22.1


Layers

[#000] sha256:927a35006d93ea08499b57046904046d7926cd76fb17be193e3e74f56d634a08 - 5.49% (28.7 MB)

[#001] sha256:87a44f46fb9c4c75a80131621fc6671e728c4a580c6d538ae9d3e4e82b3b3982 - 0.19% (1.01 MB)

[#002] sha256:37d748479df8957d26beb94e20a7a2b0f19ae1cb66c08485cab5a6b3b0517a42 - 1.97% (10.3 MB)

[#003] sha256:3b71ddde99eed8d37ed6bbd4abac2af10ed6d8aa7df7fce5e372dfa041d32811 - 0.0% (234 Bytes)

[#004] sha256:c5f55b0746077e0d4a40621628b09c00b511947c2fafa4e971dfde0f143bbb6e - 0.44% (2.31 MB)

[#005] sha256:f123aa6925429c241565a82f6ec5f300c4e538e8ba0d5497c916c043fa124f49 - 31.87% (166 MB)

[#006] sha256:6f3230c9274cc46e93a4c53f2e311899b646197b01d699af9d3dace6604310df - 7.16% (37.4 MB)

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

[#008] sha256:dc4b01d77cdaf1348a369d7402c7c3bc4441e8bbd848b005d053a21ad88b42a4 - 0.0% (2.38 KB)

[#009] sha256:358a874b73844359c2f170f7747f5b82e56cc39113cdb04fd55d9199ce88acdf - 37.51% (196 MB)

[#010] sha256:5652490dc917fdbc26fd465d7bbaa96b825fe45e50b50bab1ca6813abb69b207 - 7.69% (40.1 MB)

[#011] sha256:05942d607d67bfe97f82a928d56be5c430e7582bd3c59f42f299381ce226231f - 7.69% (40.1 MB)


History
2021-12-21 01:42:23 UTC

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

2021-12-21 01:42:24 UTC

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

2021-12-21 05:52:46 UTC

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

2021-12-21 05:52:47 UTC

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

2021-12-21 07:15:56 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase ; rm -rf /var/lib/apt/lists/*

2021-12-21 07:15:56 UTC

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

2021-12-21 07:15:57 UTC

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

2021-12-21 07:20:35 UTC

/bin/sh -c set -ex && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get install -y --no-install-recommends dpkg-dev gcc 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 $(command -v gpg > /dev/null || echo 'gnupg dirmngr') && 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" && export GNUPGHOME="$(mktemp -d)" && 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 -xJC /usr/src/python --strip-components=1 -f 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 --with-system-ffi --without-ensurepip && make -j "$(nproc)" LDFLAGS="-Wl,--strip-all" && make install && 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 '*.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

2021-12-21 07:20:36 UTC

/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config

2021-12-21 07:20:37 UTC

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

2021-12-21 07:20:38 UTC

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

2021-12-21 07:20:39 UTC

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

2021-12-21 07:20:40 UTC

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

2021-12-21 07:20:52 UTC

/bin/sh -c set -ex; 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 --check --strict -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; pip --version; 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' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2021-12-21 07:20:53 UTC

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

2022-04-22 06:33:31 UTC (buildkit.dockerfile.v0)

MAINTAINER JumpServer Team <ibuler@qq.com>

2022-04-22 06:33:31 UTC (buildkit.dockerfile.v0)

ARG BUILD_DEPENDENCIES= g++ make pkg-config

2022-04-22 06:33:31 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 sshpass

2022-04-22 06:33:31 UTC (buildkit.dockerfile.v0)

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

2022-04-22 06:33:31 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 sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim wget /bin/sh -c sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && sed -i 's/security.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && apt update && apt -y install ${BUILD_DEPENDENCIES} && apt -y install ${DEPENDENCIES} && apt -y install ${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 && rm -rf /var/lib/apt/lists/* && mv /bin/sh /bin/sh.bak && ln -s /bin/bash /bin/sh # buildkit

2022-04-24 08:30:50 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 sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim wget /bin/sh -c mkdir -p /opt/oracle/ && wget https://download.jumpserver.org/public/instantclient-basiclite-linux.x64-21.1.0.0.0.tar && tar xf instantclient-basiclite-linux.x64-21.1.0.0.0.tar -C /opt/oracle/ && echo "/opt/oracle/instantclient_21_1" > /etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig && rm -f instantclient-basiclite-linux.x64-21.1.0.0.0.tar # buildkit

2022-04-24 08:30:50 UTC (buildkit.dockerfile.v0)

WORKDIR /tmp/build

2022-05-17 07:25:24 UTC (buildkit.dockerfile.v0)

COPY ./requirements ./requirements # buildkit

2022-05-17 07:25:24 UTC (buildkit.dockerfile.v0)

ARG PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple/

2022-05-17 07:25:24 UTC (buildkit.dockerfile.v0)

ENV PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple/

2022-05-17 07:25:24 UTC (buildkit.dockerfile.v0)

ARG PIP_JMS_MIRROR=https://mirrors.aliyun.com/pypi/simple/

2022-05-17 07:25:24 UTC (buildkit.dockerfile.v0)

ENV PIP_JMS_MIRROR=https://mirrors.aliyun.com/pypi/simple/

2022-05-17 07:36:26 UTC (buildkit.dockerfile.v0)

RUN |5 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 sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim wget PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple/ PIP_JMS_MIRROR=https://mirrors.aliyun.com/pypi/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-05-17 07:36:26 UTC (buildkit.dockerfile.v0)

ARG VERSION

2022-05-17 07:36:26 UTC (buildkit.dockerfile.v0)

ENV VERSION=v2.22.1

2022-05-25 09:01:37 UTC (buildkit.dockerfile.v0)

ADD . . # buildkit

2022-05-25 09:01:38 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 sshpass TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim wget PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple/ PIP_JMS_MIRROR=https://mirrors.aliyun.com/pypi/simple/ VERSION=v2.22.1 /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-05-25 09:01:38 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2022-05-25 09:01:38 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2022-05-25 09:01:38 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2022-05-25 09:01:38 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2022-05-25 09:01:38 UTC (buildkit.dockerfile.v0)

EXPOSE map[8070/tcp:{}]

2022-05-25 09:01:38 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2022-05-25 09:01:38 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