Namespace
jumpserver
Image / Tag
core:v2.19.0
Content Digest
sha256:d176ee5531ab7b4b1031919ce6621889d054df2bc414e99c9e75c556152f97c7
Details
Created

2022-02-17 12:38:20 UTC

Size

467 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://pypi.org/simple

PIP_MIRROR

https://pypi.douban.com/simple

PYTHON_GET_PIP_SHA256

7c5239cea323cadae36083079a5ee6b2b3d56f25762a0c060d2867b89e5e06c5

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/2caf84b14febcda8077e59e9b8a6ef9a680aa392/public/get-pip.py

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12


Layers

[#000] sha256:5eb5b503b37671af16371272f9c5313a3e82f1d0756e14506704489ad9900803 - 6.4% (29.9 MB)

[#001] sha256:5c69ac0246d0815a09c65c7b9a19e8a486a5ba057aed0c83bce1794bdd856f67 - 0.22% (1.03 MB)

[#002] sha256:a80ce345656c5a04ff358673d1402aca86eece98f5430b89280bb010d6dfa66b - 2.2% (10.3 MB)

[#003] sha256:56c1ff7766ad88be672abd2b95c39e72ca804e798787b532f7e250c06f0002f0 - 0.0% (234 Bytes)

[#004] sha256:216eb72c6d88f4d58893b7d79d94cff2050bcd3c0d1d963649eaeeb03abf5fec - 0.54% (2.52 MB)

[#005] sha256:ee812af09d44208aac84e3f8da614f91366af8d83f3e767bd60dcb232cb5e66f - 0.0% (126 Bytes)

[#006] sha256:191dd5a627e4f1b9c772316bdd76090fb8da848e16db5f7214f93e65371aa492 - 0.0% (302 Bytes)

[#007] sha256:c80b34ee732fc1bc24ea4430f14b039464aa4851ba5f2d153aa95431e6bd51d2 - 35.37% (165 MB)

[#008] sha256:c3775bb5e942fc88427111fc8b8a18d34f6d6c5afbef85ae254e7dbe8d886e4b - 0.0% (1.42 KB)

[#009] sha256:80a2311f8930f9e38a95ac48e784bfc837717dc2f743556eab613b5cb8a9033d - 38.84% (182 MB)

[#010] sha256:0ac04116f5384c52b2dbf13ca769a49749b8af76136c559ad4efeb1374731d9f - 8.43% (39.4 MB)

[#011] sha256:0afa4622a64e662bd3778e44276a27a8ff60cb72698beba9d66c7717c7a15dd8 - 0.0% (288 Bytes)

[#012] sha256:245f08822444f2fa03d2b272b5ac46c1b109ca51985c0663917e49c11f500daf - 8.0% (37.4 MB)

[#013] sha256:bee64d29f166ad29e3ad9dd8e518fd1bdf94bb23e8862cdbe10fb7f7f4f5d1c1 - 0.0% (173 Bytes)


History
2022-01-26 01:40:35 UTC

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

2022-01-26 01:40:36 UTC

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

2022-01-26 19:41:08 UTC

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

2022-01-26 19:41:08 UTC

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

2022-01-26 19:41:14 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-01-26 20:58:07 UTC

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

2022-01-29 05:07:18 UTC

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

2022-01-29 05:16:55 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 --with-system-ffi --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 '*.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-01-29 05:16:56 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 "/usr/local/bin/$src" "/usr/local/bin/$dst"; done

2022-01-29 05:16:56 UTC

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

2022-01-29 05:16:57 UTC

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

2022-02-04 23:23:06 UTC

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

2022-02-04 23:23:06 UTC

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

2022-02-04 23:23:19 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/*; 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

2022-02-04 23:23:19 UTC

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

2022-02-05 03:00:50 UTC (buildkit.dockerfile.v0)

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

2022-02-05 03:00:50 UTC (buildkit.dockerfile.v0)

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

2022-02-05 03:00:50 UTC (buildkit.dockerfile.v0)

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

2022-02-05 03:00:50 UTC (buildkit.dockerfile.v0)

ENV PIP_JMS_MIRROR=https://pypi.org/simple

2022-02-05 03:00:50 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2022-02-05 03:00:50 UTC (buildkit.dockerfile.v0)

COPY ./requirements/deb_requirements.txt ./requirements/deb_requirements.txt # buildkit

2022-02-05 03:01:38 UTC (buildkit.dockerfile.v0)

RUN |2 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.org/simple /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 telnet iproute2 redis-tools default-mysql-client vim wget curl locales procps && apt -y install $(cat requirements/deb_requirements.txt) && rm -rf /var/lib/apt/lists/* && localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8 && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && sed -i "s@# alias l@alias l@g" ~/.bashrc && echo "set mouse-=a" > ~/.vimrc # buildkit

2022-02-05 03:01:38 UTC (buildkit.dockerfile.v0)

COPY ./requirements/requirements.txt ./requirements/requirements.txt # buildkit

2022-02-05 03:20:53 UTC (buildkit.dockerfile.v0)

RUN |2 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.org/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-02-17 12:38:10 UTC (buildkit.dockerfile.v0)

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

2022-02-17 12:38:10 UTC (buildkit.dockerfile.v0)

RUN |2 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.org/simple /bin/sh -c mkdir -p /root/.ssh/ && echo "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null" > /root/.ssh/config && mv /bin/sh /bin/sh.bak && ln -s /bin/bash /bin/sh # buildkit

2022-02-17 12:38:20 UTC (buildkit.dockerfile.v0)

RUN |2 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.org/simple /bin/sh -c mkdir -p /opt/jumpserver/oracle/ && wget https://download.jumpserver.org/public/instantclient-basiclite-linux.x64-21.1.0.0.0.tar > /dev/null && tar xf instantclient-basiclite-linux.x64-21.1.0.0.0.tar -C /opt/jumpserver/oracle/ && echo "/opt/jumpserver/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-02-17 12:38:20 UTC (buildkit.dockerfile.v0)

RUN |2 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.org/simple /bin/sh -c echo > config.yml # buildkit

2022-02-17 12:38:20 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2022-02-17 12:38:20 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2022-02-17 12:38:20 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2022-02-17 12:38:20 UTC (buildkit.dockerfile.v0)

EXPOSE map[8070/tcp:{}]

2022-02-17 12:38:20 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2022-02-17 12:38:20 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./entrypoint.sh"]

Details
Created

2022-02-17 14:42:03 UTC

Size

449 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://pypi.org/simple

PIP_MIRROR

https://pypi.douban.com/simple

PYTHON_GET_PIP_SHA256

7c5239cea323cadae36083079a5ee6b2b3d56f25762a0c060d2867b89e5e06c5

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/2caf84b14febcda8077e59e9b8a6ef9a680aa392/public/get-pip.py

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12


Layers

[#000] sha256:8998bd30e6a1204d13403045766edbe14f941b52087465f5d140ab63c8b113bf - 6.38% (28.7 MB)

[#001] sha256:04944245beecf8a625960e854ecf70f8c435ce86653baf304606378a9b1fd0bf - 0.23% (1.01 MB)

[#002] sha256:badfdcde6dd202eee83c1fb7a1ae22b572bbbcaeef68052ee5fb513839e8db7f - 2.29% (10.3 MB)

[#003] sha256:1a97038767bbfb79912cedd33f02d6d7b5f4432e4b1784e118b3b53dcef9fdec - 0.0% (238 Bytes)

[#004] sha256:5236b6b75b8a062ff99001110d87662c5234b99c00e5b024b7619cabb5a49aac - 0.52% (2.32 MB)

[#005] sha256:fa62a972f6d1e3da2b299500491534c4506d578a3e099c579ae909bfe1d1a9a1 - 0.0% (125 Bytes)

[#006] sha256:b9e3753c8cdb98d8396e90409a309f928466653118405f5c9c411071f1c5c802 - 0.0% (298 Bytes)

[#007] sha256:218792b59a20e801a5b1d537c5b6bb425e08d25cdf574e47e9456173fadba60c - 35.84% (161 MB)

[#008] sha256:9186fa02e8b722f1178a320c11153bde713aa3c81714557e20b2914cd0e33fc7 - 0.0% (1.42 KB)

[#009] sha256:8831746eae07fe7b373d7457b321e6ab2855b3d441c6b953984d33f0e665fd48 - 37.64% (169 MB)

[#010] sha256:6e13c9386cb6e561bf42bf30be210d0a65deef75f4d43a655b208c79d7f82680 - 8.78% (39.4 MB)

[#011] sha256:42b5861b9bc28649d3e748253debffd1dde9e4fe8991eb4a3a3c219905325523 - 0.0% (287 Bytes)

[#012] sha256:954827df83c94317f50989885e9d3e4e4cece61b81968b82983fbd0bf24ab774 - 8.33% (37.4 MB)

[#013] sha256:bb8ec8ea2860425be337a326445ca235e4340acc51ef80bd15646378dae12724 - 0.0% (173 Bytes)


History
2022-01-26 01:42:31 UTC

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

2022-01-26 01:42:31 UTC

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

2022-01-26 13:39:11 UTC

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

2022-01-26 13:39:12 UTC

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

2022-01-26 13:39:18 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-01-26 14:39:48 UTC

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

2022-01-29 05:53:37 UTC

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

2022-01-29 05:58:11 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 --with-system-ffi --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 '*.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-01-29 05:58:12 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 "/usr/local/bin/$src" "/usr/local/bin/$dst"; done

2022-01-29 05:58:12 UTC

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

2022-01-29 05:58:13 UTC

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

2022-02-04 23:52:04 UTC

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

2022-02-04 23:52:05 UTC

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

2022-02-04 23:52:17 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/*; 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

2022-02-04 23:52:17 UTC

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

2022-02-17 12:01:16 UTC (buildkit.dockerfile.v0)

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

2022-02-17 12:01:16 UTC (buildkit.dockerfile.v0)

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

2022-02-17 12:01:16 UTC (buildkit.dockerfile.v0)

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

2022-02-17 12:01:16 UTC (buildkit.dockerfile.v0)

ENV PIP_JMS_MIRROR=https://pypi.org/simple

2022-02-17 12:01:16 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2022-02-17 12:01:16 UTC (buildkit.dockerfile.v0)

COPY ./requirements/deb_requirements.txt ./requirements/deb_requirements.txt # buildkit

2022-02-17 14:23:24 UTC (buildkit.dockerfile.v0)

RUN |2 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.org/simple /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 telnet iproute2 redis-tools default-mysql-client vim wget curl locales procps && apt -y install $(cat requirements/deb_requirements.txt) && rm -rf /var/lib/apt/lists/* && localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8 && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && sed -i "s@# alias l@alias l@g" ~/.bashrc && echo "set mouse-=a" > ~/.vimrc # buildkit

2022-02-17 14:23:24 UTC (buildkit.dockerfile.v0)

COPY ./requirements/requirements.txt ./requirements/requirements.txt # buildkit

2022-02-17 14:39:15 UTC (buildkit.dockerfile.v0)

RUN |2 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.org/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-02-17 14:41:56 UTC (buildkit.dockerfile.v0)

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

2022-02-17 14:41:57 UTC (buildkit.dockerfile.v0)

RUN |2 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.org/simple /bin/sh -c mkdir -p /root/.ssh/ && echo "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null" > /root/.ssh/config && mv /bin/sh /bin/sh.bak && ln -s /bin/bash /bin/sh # buildkit

2022-02-17 14:42:03 UTC (buildkit.dockerfile.v0)

RUN |2 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.org/simple /bin/sh -c mkdir -p /opt/jumpserver/oracle/ && wget https://download.jumpserver.org/public/instantclient-basiclite-linux.x64-21.1.0.0.0.tar > /dev/null && tar xf instantclient-basiclite-linux.x64-21.1.0.0.0.tar -C /opt/jumpserver/oracle/ && echo "/opt/jumpserver/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-02-17 14:42:03 UTC (buildkit.dockerfile.v0)

RUN |2 PIP_MIRROR=https://pypi.douban.com/simple PIP_JMS_MIRROR=https://pypi.org/simple /bin/sh -c echo > config.yml # buildkit

2022-02-17 14:42:03 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2022-02-17 14:42:03 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2022-02-17 14:42:03 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2022-02-17 14:42:03 UTC (buildkit.dockerfile.v0)

EXPOSE map[8070/tcp:{}]

2022-02-17 14:42:03 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2022-02-17 14:42:03 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