2023-09-11 05:10:07 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_SHA25645a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.5
[#000] sha256:7d97e254a0461b0a30b3f443f1daa0d620a3cc6ff4e2714cc1cfd96ace5b7a7e - 6.5% (30 MB)
[#001] sha256:b48a7335bd4caff937418ddbadb974c9e0f8f6e2a6c26af21a82e328d4ed7cd7 - 0.22% (1.03 MB)
[#002] sha256:185466c6fb79e740120d7cf32a2c95645b9ee93ff2f56dcdda224fae313f5498 - 2.48% (11.4 MB)
[#003] sha256:223a5fcf7c05ff33e198812e2c916625f2c6b20281029610b4d80771c2845c01 - 0.0% (245 Bytes)
[#004] sha256:a91f2279c6c30a7f26380338bce5941f892d70be0162fc9911cd2d8ef15607b2 - 0.7% (3.25 MB)
[#005] sha256:23f54219446dedd9c732da6331ea1299a32346b43d6fcdb5a570e6fdea5ae771 - 44.98% (207 MB)
[#006] sha256:f84f5454b9764a6e48c6f500f8ddb8e50d16c1db266ba5be07aac92f501b46d2 - 16.29% (75.1 MB)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#008] sha256:6533584c7fb0c013c289b08fa944bdc275e63392cb497ab3951efb5e3986176f - 28.83% (133 MB)
/bin/sh -c #(nop) ADD file:cb5fcc80c057b356a31492a20c6e3a75b70ed70a663506c8e97ad730ae32a02d in /
2023-09-07 00:21:13 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=A035C8C19219BA821ECEA86B64E628F8D684696D
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.5
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-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-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.2.1
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
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-11 05:08:01 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2023-09-11 05:08:01 UTC (buildkit.dockerfile.v0)ARG BUILD_DEPENDENCIES= g++ make pkg-config
2023-09-11 05:08:01 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-09-11 05:08:01 UTC (buildkit.dockerfile.v0)ARG TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales nmap openssh-client sshpass telnet vim wget
2023-09-11 05:08:01 UTC (buildkit.dockerfile.v0)ARG APT_MIRROR=http://mirrors.ustc.edu.cn
2023-09-11 05:08:01 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 locales nmap openssh-client 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-09-11 05:08:05 UTC (buildkit.dockerfile.v0)COPY /opt/jumpserver/release/jumpserver /opt/jumpserver # buildkit
2023-09-11 05:08:05 UTC (buildkit.dockerfile.v0)WORKDIR /opt/jumpserver
2023-09-11 05:08:05 UTC (buildkit.dockerfile.v0)ARG PIP_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple
2023-09-11 05:10:07 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 locales nmap openssh-client 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-09-11 05:10:07 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/data]
2023-09-11 05:10:07 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/logs]
2023-09-11 05:10:07 UTC (buildkit.dockerfile.v0)ENV LANG=zh_CN.UTF-8
2023-09-11 05:10:07 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2023-09-11 05:10:07 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["./entrypoint.sh"]
2023-09-11 05:07:05 UTC
429 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_SHA25645a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.5
[#000] sha256:f96ab15157043879c2ff23e0556e798eba6a6ff3d7fd5d1384de223bb9f66f1d - 6.68% (28.7 MB)
[#001] sha256:eb617592f14301c17bff6bc72b4b8252fd851f03a36f5e80b4a679e36e8126ec - 0.24% (1.02 MB)
[#002] sha256:c6b48fae698333cea09f7cc7c30372afbda9834e071824dbc75c9095a89053fe - 2.68% (11.5 MB)
[#003] sha256:089aae753786528570d28b073184defbf2ae12b300f2edae2dd6c4e38b16f2a0 - 0.0% (242 Bytes)
[#004] sha256:32233c93bb41bd5b5d3921b41f98f89e772f36bb683b86dde4e398ee44782684 - 0.76% (3.25 MB)
[#005] sha256:a1cd9a0305c2e7dc5c1dfadeeabb27c8dc205db0fa79594e62da1bd946dce1ea - 45.01% (193 MB)
[#006] sha256:0041b07f19789212164ff318f8b54acd05695c6de8a18b58724a932446c732b5 - 17.5% (75.1 MB)
[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#008] sha256:5fb9a985cf36e233359ef4d295ac08b9faa16b48a4c6999fef7beed8af0ae4c4 - 27.15% (117 MB)
/bin/sh -c #(nop) ADD file:abd1ad48ae3ebec7a6ecc8ce3016c25be2afcbaedfcb904bc89b1ce59400aef0 in /
2023-09-07 00:39:54 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=A035C8C19219BA821ECEA86B64E628F8D684696D
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.5
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-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-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.2.1
2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
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-11 05:06:25 UTC (buildkit.dockerfile.v0)ARG TARGETARCH
2023-09-11 05:06:25 UTC (buildkit.dockerfile.v0)ARG BUILD_DEPENDENCIES= g++ make pkg-config
2023-09-11 05:06:25 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-09-11 05:06:25 UTC (buildkit.dockerfile.v0)ARG TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales nmap openssh-client sshpass telnet vim wget
2023-09-11 05:06:25 UTC (buildkit.dockerfile.v0)ARG APT_MIRROR=http://mirrors.ustc.edu.cn
2023-09-11 05:06:25 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 locales nmap openssh-client 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-09-11 05:06:27 UTC (buildkit.dockerfile.v0)COPY /opt/jumpserver/release/jumpserver /opt/jumpserver # buildkit
2023-09-11 05:06:27 UTC (buildkit.dockerfile.v0)WORKDIR /opt/jumpserver
2023-09-11 05:06:27 UTC (buildkit.dockerfile.v0)ARG PIP_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple
2023-09-11 05:07:05 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 locales nmap openssh-client 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-09-11 05:07:05 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/data]
2023-09-11 05:07:05 UTC (buildkit.dockerfile.v0)VOLUME [/opt/jumpserver/logs]
2023-09-11 05:07:05 UTC (buildkit.dockerfile.v0)ENV LANG=zh_CN.UTF-8
2023-09-11 05:07:05 UTC (buildkit.dockerfile.v0)EXPOSE map[8080/tcp:{}]
2023-09-11 05:07:05 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.