2023-10-19 12:08:06 UTC
461 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGzh_CN.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA25622b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/c6add47b0abf67511cdfb4734771cbab403af062/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.6
[#000] sha256:e67fdae3559346105027c63e7fb032bba57e62b1fe9f2da23e6fdfb56384e00b - 6.5% (30 MB)
[#001] sha256:a970ffaebef6fd07818bd49400c57484158e1665c80c51d70eac2080012d73ef - 0.22% (1.03 MB)
[#002] sha256:e855c2f1475c14c1b7fdeea72f25100921ec5a269ce576a713f6c00532b9a2d8 - 2.48% (11.4 MB)
[#003] sha256:0668e0cb7eeb9ced793b8a4532206bfb3690455a5069af3a164704ba78b41026 - 0.0% (245 Bytes)
[#004] sha256:b5251448cf317aac95e6cf71b4a19a6ed429da8a4b8ca1f0cabf0850e0429673 - 0.7% (3.25 MB)
[#005] sha256:cc5076a43cf5cd94cd1405f94a9d8450f98b741b1ec46b5cd88433182f500bed - 45.0% (208 MB)
[#006] sha256:dbcdf938a7e5f36d3a2d35341c847bd4fd453186a2b2858eedd8bbbdd43542b2 - 16.3% (75.2 MB)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#008] sha256:0063aebe3ae6f134a4d783c0446ca407e977b470e5919dd2f02ef4c10f1d11ef - 28.79% (133 MB)
/bin/sh -c #(nop) ADD file:cb13581b8e7a9de4396639e5ca2f3817763435c0563232f85e3d899f6388a1b3 in /
2023-10-11 18:35:13 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-10-15 23:10:23 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-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.6
2023-10-15 23:10:23 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-lto --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' \) \) \) -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-10-15 23:10:23 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-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.2.1
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/c6add47b0abf67511cdfb4734771cbab403af062/public/get-pip.py
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=22b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11
2023-10-15 23:10:23 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-10-15 23:10:23 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2023-10-19 11:15:55 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2023-10-19 11:15:55 UTC (buildkit.dockerfile.v0)ARG BUILD_DEPENDENCIES= g++ make pkg-config
2023-10-19 11:15:55 UTC (buildkit.dockerfile.v0)ARG DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev
2023-10-19 11:15:55 UTC (buildkit.dockerfile.v0)ARG TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client iputils-ping locales nmap openssh-client patch sshpass telnet vim wget
2023-10-19 11:15:55 UTC (buildkit.dockerfile.v0)ARG APT_MIRROR=http://mirrors.ustc.edu.cn
2023-10-19 11:15:55 UTC (buildkit.dockerfile.v0)RUN |5 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client iputils-ping locales nmap openssh-client patch sshpass telnet vim wget APT_MIRROR=http://deb.debian.org /bin/sh -c sed -i "s@http://.*.debian.org@${APT_MIRROR}@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\n\tCiphers +aes128-cbc\n\tKexAlgorithms +diffie-hellman-group1-sha1\n\tHostKeyAlgorithms +ssh-rsa" > /root/.ssh/config && echo "set mouse-=a" > ~/.vimrc && echo "no" | dpkg-reconfigure dash && echo "zh_CN.UTF-8" | dpkg-reconfigure locales && sed -i "s@# export @export @g" ~/.bashrc && sed -i "s@# alias @alias @g" ~/.bashrc && rm -rf /var/lib/apt/lists/* # buildkit
2023-10-19 12:06:02 UTC (buildkit.dockerfile.v0)COPY /opt/jumpserver/release/jumpserver /opt/jumpserver # buildkit
2023-10-19 12:06:03 UTC (buildkit.dockerfile.v0)WORKDIR /opt/jumpserver
2023-10-19 12:06:03 UTC (buildkit.dockerfile.v0)ARG PIP_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple
2023-10-19 12:08:06 UTC (buildkit.dockerfile.v0)RUN |6 TARGETARCH=amd64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client iputils-ping locales nmap openssh-client patch sshpass telnet vim wget APT_MIRROR=http://deb.debian.org PIP_MIRROR=https://pypi.org/simple /bin/sh -c set -ex && echo > /opt/jumpserver/config.yml && pip install poetry -i ${PIP_MIRROR} && poetry config virtualenvs.create false && poetry install --only=main # buildkit
2023-10-19 12:08:06 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/data]
2023-10-19 12:08:06 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/logs]
2023-10-19 12:08:06 UTC (buildkit.dockerfile.v0)ENV LANG=zh_CN.UTF-8
2023-10-19 12:08:06 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2023-10-19 12:08:06 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["./entrypoint.sh"]
2023-10-19 12:08:39 UTC
430 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGzh_CN.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA25622b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/c6add47b0abf67511cdfb4734771cbab403af062/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.6
[#000] sha256:85e50d2242ceaba78c3726e059dbd2fa06f5c18e265554bd43a482d19b256d20 - 6.67% (28.7 MB)
[#001] sha256:2502a223284ac1c7b6316409743dcb0b899b100018461974d5b4d85fa5d52806 - 0.24% (1.02 MB)
[#002] sha256:6042110426f6e689bc423762b29f41113c7452de947f6abad88bef00cb604f68 - 2.68% (11.5 MB)
[#003] sha256:644ae4f0d6e21372bcf442643f7c7495bac31ee18c728ad314759d90e1a713cb - 0.0% (244 Bytes)
[#004] sha256:212a92ddf76607f24d79df1a31cc4b57bc361dcffe3309bfe59de1676d5f4b2e - 0.76% (3.25 MB)
[#005] sha256:172c21946cbdeabf88e945a3d04044064057ec3b31ddc53c240b438c64668b09 - 45.04% (193 MB)
[#006] sha256:6ac7575b87561e94f800a74d2e46a8c66bbd6a3e0f43d2c5c459e4a8cb20bd83 - 17.51% (75.2 MB)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#008] sha256:2d9dddcd9f41992911ef0adbe96b8ff44eb6d036dbfe8487eecfa870fc7b3602 - 27.11% (116 MB)
/bin/sh -c #(nop) ADD file:2c3e5451390c62f0b85f20139d2c88011cc54d649cdda5567084c050ad373372 in /
2023-10-11 18:25:06 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-10-15 23:10:23 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-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.6
2023-10-15 23:10:23 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-lto --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' \) \) \) -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-10-15 23:10:23 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-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.2.1
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/c6add47b0abf67511cdfb4734771cbab403af062/public/get-pip.py
2023-10-15 23:10:23 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=22b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11
2023-10-15 23:10:23 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-10-15 23:10:23 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2023-10-19 12:08:04 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2023-10-19 12:08:04 UTC (buildkit.dockerfile.v0)ARG BUILD_DEPENDENCIES= g++ make pkg-config
2023-10-19 12:08:04 UTC (buildkit.dockerfile.v0)ARG DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev
2023-10-19 12:08:04 UTC (buildkit.dockerfile.v0)ARG TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client iputils-ping locales nmap openssh-client patch sshpass telnet vim wget
2023-10-19 12:08:04 UTC (buildkit.dockerfile.v0)ARG APT_MIRROR=http://mirrors.ustc.edu.cn
2023-10-19 12:08:04 UTC (buildkit.dockerfile.v0)RUN |5 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client iputils-ping locales nmap openssh-client patch sshpass telnet vim wget APT_MIRROR=http://deb.debian.org /bin/sh -c sed -i "s@http://.*.debian.org@${APT_MIRROR}@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\n\tCiphers +aes128-cbc\n\tKexAlgorithms +diffie-hellman-group1-sha1\n\tHostKeyAlgorithms +ssh-rsa" > /root/.ssh/config && echo "set mouse-=a" > ~/.vimrc && echo "no" | dpkg-reconfigure dash && echo "zh_CN.UTF-8" | dpkg-reconfigure locales && sed -i "s@# export @export @g" ~/.bashrc && sed -i "s@# alias @alias @g" ~/.bashrc && rm -rf /var/lib/apt/lists/* # buildkit
2023-10-19 12:08:06 UTC (buildkit.dockerfile.v0)COPY /opt/jumpserver/release/jumpserver /opt/jumpserver # buildkit
2023-10-19 12:08:06 UTC (buildkit.dockerfile.v0)WORKDIR /opt/jumpserver
2023-10-19 12:08:06 UTC (buildkit.dockerfile.v0)ARG PIP_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple
2023-10-19 12:08:39 UTC (buildkit.dockerfile.v0)RUN |6 TARGETARCH=arm64 BUILD_DEPENDENCIES= g++ make pkg-config DEPENDENCIES= freetds-dev libpq-dev libffi-dev libjpeg-dev libkrb5-dev libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl freerdp2-dev libaio-dev TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client iputils-ping locales nmap openssh-client patch sshpass telnet vim wget APT_MIRROR=http://deb.debian.org PIP_MIRROR=https://pypi.org/simple /bin/sh -c set -ex && echo > /opt/jumpserver/config.yml && pip install poetry -i ${PIP_MIRROR} && poetry config virtualenvs.create false && poetry install --only=main # buildkit
2023-10-19 12:08:39 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/data]
2023-10-19 12:08:39 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/logs]
2023-10-19 12:08:39 UTC (buildkit.dockerfile.v0)ENV LANG=zh_CN.UTF-8
2023-10-19 12:08:39 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2023-10-19 12:08:39 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["./entrypoint.sh"]
2023-10-20 06:01:41 +0800
321 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGzh_CN.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA25622b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/c6add47b0abf67511cdfb4734771cbab403af062/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.6
[#000] sha256:4d1db3247a53e1604b3ab72e56088b90be6ad76e636ac278d3106e936f716a15 - 7.99% (25.7 MB)
[#001] sha256:e263c745750cc7cdc20e1be401fcc157becea3e46e76dcc2f4bd3bf3215a2020 - 0.99% (3.19 MB)
[#002] sha256:cc3af85519527ff430f0815be6cf5f9ea1552404049916629c569104bc7ca619 - 5.4% (17.4 MB)
[#003] sha256:cc0a44004848dabb6ff8cf279676b4b626a9a88ae7b8ee775b51c527ebc6cfe0 - 0.0% (246 Bytes)
[#004] sha256:5a96a2a83d4d1fd631e8ac7b3039adbcb3524fa388fd7787a90a49a5c98c1fde - 1.01% (3.24 MB)
[#005] sha256:bcc802648440e5ae603295eab72cbcf9582bfd7a7fc374215c82073da7ad83a8 - 27.71% (89 MB)
[#006] sha256:9a7d52e2fa8178e5184c00654ea7fd4db113d49d8a466d9ec8bfab5a13910999 - 23.4% (75.2 MB)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#008] sha256:ae77a90875ebb8fdf70f43932afc20c2d266db071c4556abc8cd50695fa81981 - 33.49% (108 MB)
/bin/sh -c #(nop) ADD file:47e1609d00643aa8b89948faf9354c263dc6c42a9773c39cc9cba1cc69955e0c in /
2023-06-30 10:49:25 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-09-01 18:55:04 +0800 (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-09-01 18:55:04 +0800 (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-09-01 18:55:04 +0800 (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-09-01 18:55:04 +0800 (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2023-09-01 18:55:04 +0800 (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.6
2023-10-19 00:40:52 +0800 (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-lto --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' \) \) \) -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); print 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-10-19 00:40:53 +0800 (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-10-19 00:40:53 +0800 (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.2.1
2023-10-19 00:40:53 +0800 (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2023-10-19 00:40:53 +0800 (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/c6add47b0abf67511cdfb4734771cbab403af062/public/get-pip.py
2023-10-19 00:40:53 +0800 (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=22b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11
2023-10-19 00:41:22 +0800 (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-10-19 00:41:22 +0800 (buildkit.dockerfile.v0)CMD ["python3"]
2023-10-20 05:37:57 +0800 (buildkit.dockerfile.v0)ARG TARGETARCH
2023-10-20 05:37:57 +0800 (buildkit.dockerfile.v0)ARG DEPENDENCIES= libjpeg-dev libxmlsec1-openssl
2023-10-20 05:37:57 +0800 (buildkit.dockerfile.v0)ARG TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client inetutils-ping locales openssh-client patch procps sshpass telnet unzip vim nmap wget
2023-10-20 05:37:57 +0800 (buildkit.dockerfile.v0)ARG APT_MIRROR=http://mirrors.ustc.edu.cn
2023-10-20 05:37:57 +0800 (buildkit.dockerfile.v0)RUN |4 TARGETARCH=loong64 DEPENDENCIES= libjpeg-dev libxmlsec1-openssl TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client inetutils-ping locales openssh-client patch procps sshpass telnet unzip vim nmap wget APT_MIRROR=http://mirrors.ustc.edu.cn /bin/sh -c sed -i "s@http://.*.debian.org@${APT_MIRROR}@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 ${DEPENDENCIES} && apt-get -y install --no-install-recommends ${TOOLS} && mkdir -p /root/.ssh/ && echo "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null\n\tCiphers +aes128-cbc\n\tKexAlgorithms +diffie-hellman-group1-sha1\n\tHostKeyAlgorithms +ssh-rsa" > /root/.ssh/config && echo "no" | dpkg-reconfigure dash && echo "zh_CN.UTF-8" | dpkg-reconfigure locales && sed -i "s@# export @export @g" ~/.bashrc && sed -i "s@# alias @alias @g" ~/.bashrc # buildkit
2023-10-20 06:00:30 +0800 (buildkit.dockerfile.v0)COPY /opt/jumpserver/release/jumpserver /opt/jumpserver # buildkit
2023-10-20 06:00:30 +0800 (buildkit.dockerfile.v0)WORKDIR /opt/jumpserver
2023-10-20 06:00:30 +0800 (buildkit.dockerfile.v0)ARG PIP_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple
2023-10-20 06:01:41 +0800 (buildkit.dockerfile.v0)RUN |5 TARGETARCH=loong64 DEPENDENCIES= libjpeg-dev libxmlsec1-openssl TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client inetutils-ping locales openssh-client patch procps sshpass telnet unzip vim nmap wget APT_MIRROR=http://mirrors.ustc.edu.cn PIP_MIRROR=https://pypi.org/simple /bin/sh -c set -ex && echo > /opt/jumpserver/config.yml && pip install poetry -i ${PIP_MIRROR} && poetry config virtualenvs.create false && poetry install --only=main # buildkit
2023-10-20 06:01:41 +0800 (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/data]
2023-10-20 06:01:41 +0800 (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/logs]
2023-10-20 06:01:41 +0800 (buildkit.dockerfile.v0)ENV LANG=zh_CN.UTF-8
2023-10-20 06:01:41 +0800 (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2023-10-20 06:01:41 +0800 (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.