Namespace
jumpserver
Image / Tag
core:v3.6.0
Content Digest
sha256:cee6b30d5f341499e48ff89c317f2ed80d7d311a6bb6579caae3151301ca586f
Details
Created

2023-08-17 12:02:28 UTC

Size

459 MB

Content Digest
Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

zh_CN.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

PYTHON_PIP_VERSION

23.1.2

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.4


Layers

[#000] sha256:14726c8f78342865030f97a8d3492e2d1a68fbd22778f9a31dc6be4b4f12a9bc - 6.53% (30 MB)

[#001] sha256:7d676dc8a994c0e4184cd6cfbc4b1540eea31846375a23864db3bb9effab24c0 - 0.22% (1.03 MB)

[#002] sha256:e9e2f08137fc1836dea30551d759b273a082f57d4f19875eda0bdff81a9add2e - 2.49% (11.4 MB)

[#003] sha256:6cc9fece80c8450f867726ec306e38a40017366772898899fe4e8713dd8b3a10 - 0.0% (244 Bytes)

[#004] sha256:264b6a89a95dda8616fbbd6f574408e1b89851411657dcd5975df45de8aa380d - 0.7% (3.23 MB)

[#005] sha256:a099f85b0a3a0c0206b496864c1bc68f799fb3a9d86b10b088c4d059cafed4d6 - 45.22% (207 MB)

[#006] sha256:6e2910fa40ecc5caae74a527eae2e9e3beca9911eb1ca398a52fe9725fc39d7a - 16.38% (75.1 MB)

[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#008] sha256:c7b3999696fdd05c1dd16d79ea7b3e4b96dfdfa24d43eb2ccedbc60b0382fca9 - 28.45% (131 MB)


History
2023-08-16 01:00:09 UTC

/bin/sh -c #(nop) ADD file:2d91c2e03d02bfa16fe4f766d851b351d93d33f84751ad96c985e64ea024ec28 in /

2023-08-16 01:00:09 UTC

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

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-07-22 09:54:20 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-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.4

2023-07-22 09:54:20 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); 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-07-22 09:54:20 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-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.1.2

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

2023-07-22 09:54:20 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-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-08-17 11:59:31 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH

2023-08-17 11:59:31 UTC (buildkit.dockerfile.v0)

ARG BUILD_DEPENDENCIES= g++ make pkg-config

2023-08-17 11:59:31 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-08-17 11:59:31 UTC (buildkit.dockerfile.v0)

ARG TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales nmap openssh-client sshpass telnet vim wget

2023-08-17 11:59:31 UTC (buildkit.dockerfile.v0)

ARG APT_MIRROR=http://mirrors.ustc.edu.cn

2023-08-17 11:59:31 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-08-17 11:59:34 UTC (buildkit.dockerfile.v0)

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

2023-08-17 11:59:34 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2023-08-17 11:59:34 UTC (buildkit.dockerfile.v0)

ARG PIP_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple

2023-08-17 12:02:28 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-08-17 12:02:28 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2023-08-17 12:02:28 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2023-08-17 12:02:28 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2023-08-17 12:02:28 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-08-17 12:02:28 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./entrypoint.sh"]

Details
Created

2023-08-17 12:00:10 UTC

Size

427 MB

Content Digest
Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

zh_CN.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

PYTHON_PIP_VERSION

23.1.2

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.4


Layers

[#000] sha256:41f92d5a73b9bee296c7b4a3817b28098b22fb60112608b42bb03570ca296115 - 6.71% (28.7 MB)

[#001] sha256:40589f858a36548f3a99431b7b0d983ba27e5350bd0a032910f956dc14bc77a3 - 0.24% (1.02 MB)

[#002] sha256:ebfe57ae3ec3cd387f0f58f3246abacb367501246ba38834c134db2e117a9922 - 2.69% (11.5 MB)

[#003] sha256:0cffb447bcdc453d0e4f501f9b8a46080ccf47c1945e63b39801bdea23c38cdf - 0.0% (242 Bytes)

[#004] sha256:f09dc7ca5e15b356f3b324046a9fac4bba7214fd246ff86d6be85d380930cffa - 0.76% (3.23 MB)

[#005] sha256:7eb6c5d9eaa24e8e2965449da29660358a59ec2467e779d3778a6a500b20b1e4 - 45.28% (193 MB)

[#006] sha256:1a1f346c92f5a49e978eaf4895ddce6ef9f62549f532ec7d03daca2a04687957 - 17.6% (75.1 MB)

[#007] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#008] sha256:25e23c031d184dfa33e1a73ec7f31c9652a9994117ae463f9ff70a1e02d7831a - 26.73% (114 MB)


History
2023-08-15 23:40:11 UTC

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

2023-08-15 23:40:11 UTC

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

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-07-22 09:54:20 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-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.4

2023-07-22 09:54:20 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); 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-07-22 09:54:20 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-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.1.2

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

2023-07-22 09:54:20 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-07-22 09:54:20 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-08-17 11:57:51 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH

2023-08-17 11:57:51 UTC (buildkit.dockerfile.v0)

ARG BUILD_DEPENDENCIES= g++ make pkg-config

2023-08-17 11:57:51 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-08-17 11:57:51 UTC (buildkit.dockerfile.v0)

ARG TOOLS= ca-certificates curl default-libmysqlclient-dev default-mysql-client locales nmap openssh-client sshpass telnet vim wget

2023-08-17 11:57:51 UTC (buildkit.dockerfile.v0)

ARG APT_MIRROR=http://mirrors.ustc.edu.cn

2023-08-17 11:57:51 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-08-17 11:57:56 UTC (buildkit.dockerfile.v0)

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

2023-08-17 11:57:56 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/jumpserver

2023-08-17 11:57:56 UTC (buildkit.dockerfile.v0)

ARG PIP_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple

2023-08-17 12:00:10 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-08-17 12:00:10 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/data]

2023-08-17 12:00:10 UTC (buildkit.dockerfile.v0)

VOLUME [/opt/jumpserver/logs]

2023-08-17 12:00:10 UTC (buildkit.dockerfile.v0)

ENV LANG=zh_CN.UTF-8

2023-08-17 12:00:10 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-08-17 12:00:10 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