2023-09-26 06:57:44 UTC
485 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.org/simple
PIP_MIRRORhttps://pypi.org/simple
PYTHON_GET_PIP_SHA25645a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
PYTHON_PIP_VERSION23.0.1
PYTHON_SETUPTOOLS_VERSION57.5.0
PYTHON_VERSION3.8.18
[#000] sha256:7dbc1adf280e1aa588c033eaa746aa6db327ee16be705740f81741f5e6945c86 - 6.18% (30 MB)
[#001] sha256:4171d440ff028644f6d5b9862d500def1778bccd4495d24c3183acde40950a9f - 0.21% (1.03 MB)
[#002] sha256:4a6cd2633e999651cec36c7b4526f68cc7c3e42ebf530b954be0e16940a178af - 2.54% (12.3 MB)
[#003] sha256:d3f819e21257ddc1f9951af325a3e6b771df869241d48724299b618b9a28588b - 0.0% (244 Bytes)
[#004] sha256:2420b8f3d5a9ecea945d74040ea67d02f9966fbe755070660eee3f126975f78a - 0.62% (3 MB)
[#005] sha256:83e066b1b1719ba651e65191484aa9e44350a50d19102c56873dabdb8361f6e6 - 32.76% (159 MB)
[#006] sha256:665e0f7552f0718a7d4e7218f5a143bb405fa7ee114e765e14c6e10a823e439c - 7.51% (36.4 MB)
[#007] sha256:3c0976e4e1348f8f7f254dd21bd55d91a205b0ea6d266ae2b7be70c9e4b2fe0a - 0.0% (119 Bytes)
[#008] sha256:2e5dafd6cf10be95c6414ac894b9af73a123be1d2ef5be8e60607ad82314d9c8 - 0.0% (2.47 KB)
[#009] sha256:a8d06a06436ff4d8bf6b9e6afed4010bad6f98d2cc35c56cc525662cd6fe7d47 - 41.88% (203 MB)
[#010] sha256:898d1756ca12a2522d58191de6551fd42e736cedc3ffe7168d50f697b137723f - 8.3% (40.2 MB)
[#011] sha256:2c482f1d71e07b029c1ea8d63f850a9fc57fc6657f9388575f8b673daea7677e - 0.0% (206 Bytes)
[#012] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:7eb149bcaba1d7dcab06b3f9a0615ca459e9cb28459a0864f92b0037f270ba66 in /
2023-09-20 04:56:03 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-08-25 21:33:43 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-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.8.18
2023-08-25 21:33:43 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; 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' \) \) -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 '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | 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-08-25 21:33:43 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-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.0.1
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=57.5.0
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
2023-08-25 21:33:43 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-08-25 21:33:43 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2023-09-26 06:52:39 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2023-09-26 06:52:39 UTC (buildkit.dockerfile.v0)MAINTAINER JumpServer Team <ibuler@qq.com>
2023-09-26 06:52:39 UTC (buildkit.dockerfile.v0)ARG BUILD_DEPENDENCIES= g++ make pkg-config
2023-09-26 06:52:39 UTC (buildkit.dockerfile.v0)ARG DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libjpeg-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass
2023-09-26 06:52:39 UTC (buildkit.dockerfile.v0)ARG TOOLS= ca-certificates curl default-mysql-client iputils-ping locales patch procps redis-tools telnet vim unzip wget
2023-09-26 06:52:39 UTC (buildkit.dockerfile.v0)RUN |4 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libjpeg-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= ca-certificates curl default-mysql-client iputils-ping locales patch 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 && 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" > /root/.ssh/config && sed -i "s@# alias l@alias l@g" ~/.bashrc && echo "set mouse-=a" > ~/.vimrc && echo "no" | dpkg-reconfigure dash && echo "zh_CN.UTF-8" | dpkg-reconfigure locales && rm -rf /var/lib/apt/lists/* # buildkit
2023-09-26 06:52:39 UTC (buildkit.dockerfile.v0)ARG ORACLE_LIB_MAJOR=19
2023-09-26 06:52:39 UTC (buildkit.dockerfile.v0)ARG ORACLE_LIB_MINOR=10
2023-09-26 06:52:39 UTC (buildkit.dockerfile.v0)ENV ORACLE_FILE=instantclient-basiclite-linux.amd64-19.10.0.0.0dbru.zip
2023-09-26 06:52:44 UTC (buildkit.dockerfile.v0)RUN |6 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libjpeg-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= ca-certificates curl default-mysql-client iputils-ping locales patch procps redis-tools telnet vim unzip wget 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
2023-09-26 06:52:44 UTC (buildkit.dockerfile.v0)WORKDIR /tmp/build
2023-09-26 06:52:45 UTC (buildkit.dockerfile.v0)COPY ./requirements ./requirements # buildkit
2023-09-26 06:52:45 UTC (buildkit.dockerfile.v0)ARG PIP_MIRROR=https://pypi.douban.com/simple
2023-09-26 06:52:45 UTC (buildkit.dockerfile.v0)ENV PIP_MIRROR=https://pypi.org/simple
2023-09-26 06:52:45 UTC (buildkit.dockerfile.v0)ARG PIP_JMS_MIRROR=https://pypi.douban.com/simple
2023-09-26 06:52:45 UTC (buildkit.dockerfile.v0)ENV PIP_JMS_MIRROR=https://pypi.org/simple
2023-09-26 06:57:42 UTC (buildkit.dockerfile.v0)RUN |8 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libjpeg-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= ca-certificates curl default-mysql-client iputils-ping locales patch procps redis-tools telnet vim unzip wget ORACLE_LIB_MAJOR=19 ORACLE_LIB_MINOR=10 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 && pip install Cython==0.29.35 && pip install --no-build-isolation pymssql && pip install $(grep -E 'jms|jumpserver' requirements/requirements.txt) -i ${PIP_JMS_MIRROR} && pip install -r requirements/requirements.txt --use-deprecated=legacy-resolver # buildkit
2023-09-26 06:57:44 UTC (buildkit.dockerfile.v0)COPY /opt/jumpserver/release/jumpserver /opt/jumpserver # buildkit
2023-09-26 06:57:44 UTC (buildkit.dockerfile.v0)RUN |8 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libjpeg-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= ca-certificates curl default-mysql-client iputils-ping locales patch procps redis-tools telnet vim unzip wget ORACLE_LIB_MAJOR=19 ORACLE_LIB_MINOR=10 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-09-26 06:57:44 UTC (buildkit.dockerfile.v0)WORKDIR /opt/jumpserver
2023-09-26 06:57:44 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/data]
2023-09-26 06:57:44 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/logs]
2023-09-26 06:57:44 UTC (buildkit.dockerfile.v0)ENV LANG=zh_CN.UTF-8
2023-09-26 06:57:44 UTC (buildkit.dockerfile.v0)EXPOSE map[8070/tcp:{}]
2023-09-26 06:57:44 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2023-09-26 06:57:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["./entrypoint.sh"]
2023-09-26 07:02:11 UTC
467 MB
E3FF2839C048B25C084DEBE9B26995E310250568
LANGzh_CN.UTF-8
ORACLE_FILEinstantclient-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_MIRRORhttps://pypi.org/simple
PIP_MIRRORhttps://pypi.org/simple
PYTHON_GET_PIP_SHA25645a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
PYTHON_PIP_VERSION23.0.1
PYTHON_SETUPTOOLS_VERSION57.5.0
PYTHON_VERSION3.8.18
[#000] sha256:fc521c5b98350f6fd8c72ace1e48558bb7b53cb3db201a2a3b42095401cd02f1 - 6.13% (28.7 MB)
[#001] sha256:d1d37b8d3496c90946fd93cde9d71b61ab72ca7db5e2b1e9d80fb013cd4bab80 - 0.22% (1.02 MB)
[#002] sha256:2c208f615bac5c19af2e58248870697482ce94be6967abcb3640533375158958 - 2.65% (12.4 MB)
[#003] sha256:7868919355da02327cf7a51dc915a04d7c863ec8211f4c53fe4cc87cae4d747b - 0.0% (242 Bytes)
[#004] sha256:72ee76b81e545743bf8c134ed51d5fdcd18ccf16e57148cc8f23fdf9fd9d4b95 - 0.64% (3 MB)
[#005] sha256:6cec83a106bb7ab23ab654e3dbc8bfd183651c8fce2ed0d28a9a1e640bc1db7a - 33.01% (154 MB)
[#006] sha256:c88c5c1e0ac9657ccf92c748d2c314afd9f0453e3b24f616ddc3c3d79c217fbb - 6.66% (31.1 MB)
[#007] sha256:6cff9303ff823962601ed82e9a84e04c5cb3dd6e5c56a36e70841c9a957badf8 - 0.0% (119 Bytes)
[#008] sha256:d5df29bd61819600d03bb087650576dac5a669848d20ab49fdbf6e68de7bc541 - 0.0% (2.46 KB)
[#009] sha256:b30185742b0a91ca5966e2241e094d8ab7e8b22d281ea24e9ad8e74209b29b0a - 42.07% (197 MB)
[#010] sha256:ce5ca87339f5d76d994afd7a4aae0b406cc8c4b05988eaca3e62157bdc666db5 - 8.61% (40.2 MB)
[#011] sha256:ab6c3068193695a53c6a6f3e754915f01222156450123ea42720b98b090087ec - 0.0% (207 Bytes)
[#012] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:024479be439b4ecb37c939e68673adc72955f3345ca0e809bd13e897709e59e4 in /
2023-09-20 02:44:28 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-08-25 21:33:43 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-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.8.18
2023-08-25 21:33:43 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; 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' \) \) -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 '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | 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-08-25 21:33:43 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-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.0.1
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=57.5.0
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
2023-08-25 21:33:43 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-08-25 21:33:43 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2023-09-26 06:53:12 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2023-09-26 06:53:12 UTC (buildkit.dockerfile.v0)MAINTAINER JumpServer Team <ibuler@qq.com>
2023-09-26 06:53:12 UTC (buildkit.dockerfile.v0)ARG BUILD_DEPENDENCIES= g++ make pkg-config
2023-09-26 06:53:12 UTC (buildkit.dockerfile.v0)ARG DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libjpeg-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass
2023-09-26 06:53:12 UTC (buildkit.dockerfile.v0)ARG TOOLS= ca-certificates curl default-mysql-client iputils-ping locales patch procps redis-tools telnet vim unzip wget
2023-09-26 06:53:12 UTC (buildkit.dockerfile.v0)RUN |4 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libjpeg-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= ca-certificates curl default-mysql-client iputils-ping locales patch 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 && 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" > /root/.ssh/config && sed -i "s@# alias l@alias l@g" ~/.bashrc && echo "set mouse-=a" > ~/.vimrc && echo "no" | dpkg-reconfigure dash && echo "zh_CN.UTF-8" | dpkg-reconfigure locales && rm -rf /var/lib/apt/lists/* # buildkit
2023-09-26 06:53:12 UTC (buildkit.dockerfile.v0)ARG ORACLE_LIB_MAJOR=19
2023-09-26 06:53:12 UTC (buildkit.dockerfile.v0)ARG ORACLE_LIB_MINOR=10
2023-09-26 06:53:12 UTC (buildkit.dockerfile.v0)ENV ORACLE_FILE=instantclient-basiclite-linux.arm64-19.10.0.0.0dbru.zip
2023-09-26 06:53:18 UTC (buildkit.dockerfile.v0)RUN |6 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libjpeg-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= ca-certificates curl default-mysql-client iputils-ping locales patch procps redis-tools telnet vim unzip wget 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
2023-09-26 06:53:18 UTC (buildkit.dockerfile.v0)WORKDIR /tmp/build
2023-09-26 06:53:18 UTC (buildkit.dockerfile.v0)COPY ./requirements ./requirements # buildkit
2023-09-26 06:53:18 UTC (buildkit.dockerfile.v0)ARG PIP_MIRROR=https://pypi.douban.com/simple
2023-09-26 06:53:18 UTC (buildkit.dockerfile.v0)ENV PIP_MIRROR=https://pypi.org/simple
2023-09-26 06:53:18 UTC (buildkit.dockerfile.v0)ARG PIP_JMS_MIRROR=https://pypi.douban.com/simple
2023-09-26 06:53:18 UTC (buildkit.dockerfile.v0)ENV PIP_JMS_MIRROR=https://pypi.org/simple
2023-09-26 07:02:07 UTC (buildkit.dockerfile.v0)RUN |8 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libjpeg-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= ca-certificates curl default-mysql-client iputils-ping locales patch procps redis-tools telnet vim unzip wget ORACLE_LIB_MAJOR=19 ORACLE_LIB_MINOR=10 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 && pip install Cython==0.29.35 && pip install --no-build-isolation pymssql && pip install $(grep -E 'jms|jumpserver' requirements/requirements.txt) -i ${PIP_JMS_MIRROR} && pip install -r requirements/requirements.txt --use-deprecated=legacy-resolver # buildkit
2023-09-26 07:02:10 UTC (buildkit.dockerfile.v0)COPY /opt/jumpserver/release/jumpserver /opt/jumpserver # buildkit
2023-09-26 07:02:11 UTC (buildkit.dockerfile.v0)RUN |8 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= default-libmysqlclient-dev freetds-dev libpq-dev libffi-dev libjpeg-dev libldap2-dev libsasl2-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev openssh-client sshpass TOOLS= ca-certificates curl default-mysql-client iputils-ping locales patch procps redis-tools telnet vim unzip wget ORACLE_LIB_MAJOR=19 ORACLE_LIB_MINOR=10 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-09-26 07:02:11 UTC (buildkit.dockerfile.v0)WORKDIR /opt/jumpserver
2023-09-26 07:02:11 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/data]
2023-09-26 07:02:11 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/logs]
2023-09-26 07:02:11 UTC (buildkit.dockerfile.v0)ENV LANG=zh_CN.UTF-8
2023-09-26 07:02:11 UTC (buildkit.dockerfile.v0)EXPOSE map[8070/tcp:{}]
2023-09-26 07:02:11 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2023-09-26 07:02:11 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.