2022-09-07 08:35:19 UTC
511 MB
E3FF2839C048B25C084DEBE9B26995E310250568
LANGzh_CN.UTF-8
ORACLE_FILEinstantclient-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_MIRRORhttps://pypi.douban.com/simple
PIP_MIRRORhttps://pypi.douban.com/simple
PYTHON_GET_PIP_SHA2565aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py
PYTHON_PIP_VERSION22.0.4
PYTHON_SETUPTOOLS_VERSION57.5.0
PYTHON_VERSION3.8.13
VERSIONdev-linux-xrdp
[#000] sha256:7a6db449b51b92eac5c81cdbd82917785343f1664b2be57b22337b0a40c5b29d - 5.86% (29.9 MB)
[#001] sha256:e238bceb29579b6804c25c4e8c81612003af698ef4ca42c46fa87d4ef371653c - 0.2% (1.03 MB)
[#002] sha256:9c37eda4ff12eb9bd68ee8feacb78034f4524716d57673ff0a0ad82f88df487c - 2.12% (10.8 MB)
[#003] sha256:120078faa76053c068cf75960a6db2a9473ef941fdf2971b724769de253f534f - 0.0% (233 Bytes)
[#004] sha256:2d3523ccd6f419b6f4643fe4d472243848803763261afa6947386fcb161bcd16 - 0.59% (3.03 MB)
[#005] sha256:ef6342c667c2786f32126a47ab1134c7970ad4892fdfc9a7682d48820b138634 - 31.25% (160 MB)
[#006] sha256:d36a1154589e604b4fba33545b708961b781fbb585289796f4527e4ab285faff - 7.13% (36.4 MB)
[#007] sha256:585e28a1fdbb1297f674d2bd99cc4612496ed881d2ca087b48bae40a6e16cc5a - 0.0% (124 Bytes)
[#008] sha256:1cd49fc8b27669f1e3085ef26f09d9a4d9d018489db46fdc1db013375ee99136 - 0.0% (2.48 KB)
[#009] sha256:49843509c4482b9af8d4ffe12767c4b32c91d15f9d02f428107f73df87c44f90 - 37.1% (189 MB)
[#010] sha256:98814b9952f695f3e93b31c8d2613bf208eb1ef4f12a323075f3a02619a23be5 - 7.87% (40.2 MB)
[#011] sha256:dd2492672da50b7d7194a56292333495688a4c131512e2e611023f97d6859d31 - 7.87% (40.2 MB)
[#012] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:7726efb0e0eb5003dbcf2967ec29364479eec8b41f2569ff189372153115b54b in /
2022-08-23 00:20:51 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-08-23 07:32:59 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-08-23 07:32:59 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2022-08-23 07:33:04 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-08-23 09:08:30 UTC/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
2022-08-23 09:36:37 UTC/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.13
2022-08-23 09:42:56 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-08-23 09:42: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 "$src" "/usr/local/bin/$dst"; done
2022-08-23 09:42:57 UTC/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=22.0.4
2022-08-23 09:42:57 UTC/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0
2022-08-23 09:42:57 UTC/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py
2022-08-23 09:42:57 UTC/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4
2022-08-23 09:43:09 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-08-23 09:43:09 UTC/bin/sh -c #(nop) CMD ["python3"]
2022-09-01 00:07:45 UTC (buildkit.dockerfile.v0)MAINTAINER JumpServer Team <ibuler@qq.com>
2022-09-01 00:07:45 UTC (buildkit.dockerfile.v0)ARG BUILD_DEPENDENCIES= g++ make pkg-config
2022-09-01 00:07:45 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-09-01 00:07:45 UTC (buildkit.dockerfile.v0)ARG TOOLS= curl default-mysql-client iproute2 iputils-ping locales procps redis-tools telnet vim unzip wget
2022-09-01 00:07:45 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-09-01 00:07:45 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2022-09-01 00:07:45 UTC (buildkit.dockerfile.v0)ARG ORACLE_LIB_MAJOR=19
2022-09-01 00:07:45 UTC (buildkit.dockerfile.v0)ARG ORACLE_LIB_MINOR=10
2022-09-01 00:07:45 UTC (buildkit.dockerfile.v0)ENV ORACLE_FILE=instantclient-basiclite-linux.amd64-19.10.0.0.0dbru.zip
2022-09-01 00:07:56 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-09-01 00:07:56 UTC (buildkit.dockerfile.v0)WORKDIR /tmp/build
2022-09-07 08:23:45 UTC (buildkit.dockerfile.v0)COPY ./requirements ./requirements # buildkit
2022-09-07 08:23:45 UTC (buildkit.dockerfile.v0)ARG PIP_MIRROR=https://pypi.douban.com/simple
2022-09-07 08:23:45 UTC (buildkit.dockerfile.v0)ENV PIP_MIRROR=https://pypi.douban.com/simple
2022-09-07 08:23:45 UTC (buildkit.dockerfile.v0)ARG PIP_JMS_MIRROR=https://pypi.douban.com/simple
2022-09-07 08:23:45 UTC (buildkit.dockerfile.v0)ENV PIP_JMS_MIRROR=https://pypi.douban.com/simple
2022-09-07 08:33:54 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-09-07 08:33:54 UTC (buildkit.dockerfile.v0)ARG VERSION
2022-09-07 08:33:54 UTC (buildkit.dockerfile.v0)ENV VERSION=dev-linux-xrdp
2022-09-07 08:35:18 UTC (buildkit.dockerfile.v0)ADD . . # buildkit
2022-09-07 08:35:19 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=dev-linux-xrdp /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-09-07 08:35:19 UTC (buildkit.dockerfile.v0)WORKDIR /opt/jumpserver
2022-09-07 08:35:19 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/data]
2022-09-07 08:35:19 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/logs]
2022-09-07 08:35:19 UTC (buildkit.dockerfile.v0)ENV LANG=zh_CN.UTF-8
2022-09-07 08:35:19 UTC (buildkit.dockerfile.v0)EXPOSE map[8070/tcp:{}]
2022-09-07 08:35:19 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2022-09-07 08:35:19 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["./entrypoint.sh"]
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.