2024-09-17 10:06:33 UTC
640 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_VERSION3.10.15
[#000] sha256:8cd46d290033f265db57fd808ac81c444ec5a5b3f189c3d6d85043b647336913 - 7.38% (47.3 MB)
[#001] sha256:2e6afa3f266c11e8960349e7866203a9df478a50362bb5488c45fe39d99b2707 - 3.58% (22.9 MB)
[#002] sha256:2e66a70da0bec13fb3d492fcdef60fd8a5ef0a1a65c4e8a4909e26742852f0f2 - 9.56% (61.2 MB)
[#003] sha256:1c8ff076d818ad6b8557e03e10c83657cc716ab287c8380054ff91571c8cae81 - 31.48% (201 MB)
[#004] sha256:f740a772779abc36c7b2a942908d9e95d05408dc7cec25826fc0522853ed6b88 - 0.92% (5.88 MB)
[#005] sha256:207739e26e689c51992f50b9156fb55d8f8f59744c1dc29286361eebac336262 - 3.02% (19.3 MB)
[#006] sha256:cf2e0e7f8ea15ba817caba3a3ea54b0a1fc3f519dfa9ed1a577c29abeb802fd6 - 0.0% (250 Bytes)
[#007] sha256:ea98f6bcf5dc67519465ec33bcf23662e7cdbc0ed763c006f138f213d38faf13 - 1.24% (7.94 MB)
[#008] sha256:388ba3f672c83e89930e6ba804c6b639aeeca623643d354ec81e29f612ab6c72 - 0.0% (668 Bytes)
[#009] sha256:dfc4ba237df1083b0d0d1f329efeadfdbf4180d808c45fd4f1bdd9c3794eb659 - 0.0% (94 Bytes)
[#010] sha256:99107f1eb9073cab9ef504043e57438196c646970d2623d5ae13824a09aef407 - 0.0% (980 Bytes)
[#011] sha256:7586138db5256b3b73e96278aeb51453263d03395a53e8b09f2190dd621a138f - 12.85% (82.3 MB)
[#012] sha256:dc5429514f608863b70dd1554f53e2d115afdd887135a818d17935973cfd7b47 - 29.98% (192 MB)
/bin/sh -c #(nop) ADD file:1129dcf71f67461f4730620f8148cc9ebc7641966fa683cdf84807219ad288b2 in /
2024-09-04 22:30:36 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-09-04 22:55:05 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/*
2024-09-04 22:55:22 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/*
2024-09-04 22:56:12 UTC/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/*
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libbluetooth-dev tk-dev uuid-dev ; rm -rf /var/lib/apt/lists/* # buildkit
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.10.15
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; 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 --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; 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; bin="$(readlink -ve /usr/local/bin/python3)"; dir="$(dirname "$bin")"; mkdir -p "/usr/share/gdb/auto-load/$dir"; cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; 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; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; for src in idle3 pip3 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
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-09-17 09:58:50 UTC (buildkit.dockerfile.v0)ARG MCDR_VERSION_REQUIREMENT=2.13.2
2024-09-17 09:58:50 UTC (buildkit.dockerfile.v0)ARG PYPI_INDEX=https://pypi.org/simple
2024-09-17 09:58:50 UTC (buildkit.dockerfile.v0)RUN |2 MCDR_VERSION_REQUIREMENT=2.13.2 PYPI_INDEX=https://pypi.org/simple /bin/sh -c set -eux export PIP_ROOT_USER_ACTION=ignore python3 -m pip install -U pip if [ "$MCDR_VERSION_REQUIREMENT" = "latest" ]; then pip3 install mcdreforged else pip3 install "mcdreforged==${MCDR_VERSION_REQUIREMENT}" -i "$PYPI_INDEX" --extra-index-url https://pypi.org/simple fi pip3 cache purge && rm -rf ~/.cache/ # buildkit
2024-09-17 09:58:50 UTC (buildkit.dockerfile.v0)RUN |2 MCDR_VERSION_REQUIREMENT=2.13.2 PYPI_INDEX=https://pypi.org/simple /bin/sh -c set -eux mkdir -p "$(python3 -m site --user-site)" cat <<EOF > /etc/pip.conf [global] user = true EOF cat <<EOF >> ~/.bashrc # Add Python user bin to PATH export PATH="\$PATH:$(python3 -m site --user-base)/bin" EOF # buildkit
2024-09-17 09:58:50 UTC (buildkit.dockerfile.v0)WORKDIR /mcdr
2024-09-17 09:58:50 UTC (buildkit.dockerfile.v0)CMD ["python3" "-m" "mcdreforged" "start" "--auto-init"]
2024-09-17 10:01:22 UTC (buildkit.dockerfile.v0)COPY requirements_extra.txt /tmp/ # buildkit
2024-09-17 10:01:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux # disable the pip config temporary to install packages to the global storage export PIP_CONFIG_FILE=/dev/null pip3 freeze | grep mcdreforged >> /tmp/requirements_extra.txt pip3 install -r /tmp/requirements_extra.txt rm -f /tmp/requirements_extra.txt pip3 cache purge && rm -rf ~/.cache/ # buildkit
2024-09-17 10:06:33 UTC (buildkit.dockerfile.v0)ARG JAVA=11
2024-09-17 10:06:33 UTC (buildkit.dockerfile.v0)RUN |1 JAVA=11 /bin/sh -c set -eux export DEBIAN_FRONTEND="noninteractive" apt-get update apt-get install -y gnupg ca-certificates curl curl -so- https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor -o /etc/apt/trusted.gpg.d/adoptium.gpg echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list apt-get update # The temurin source is currently very unstable, add more retries for it # https://github.com/adoptium/adoptium-support/issues/554 # https://github.com/adoptium/installer/issues/766 set +e wait_times="1 3 5 5 5 5 5 5 5" attempts=$(echo "$wait_times" | awk '{print NF}') # 9 attempts for attempt in $(seq 1 $attempts); do if apt-get install -y "temurin-${JAVA}-jdk"; then break fi if [ "$attempt" != "$attempts" ]; then wait_time=$(echo "$wait_times" | cut -d ' ' -f $attempt) echo "Install attempt #$attempt failed. Waiting ${wait_time} minutes for another attempt..." sleep $((wait_time * 60)) else echo "All $attempts attempts failed" exit 1 fi done set -e java -version javac -version rm -rf /var/lib/apt/lists/* # buildkit
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.