Namespace
mcdreforged
Image / Tag
mcdreforged-temurin:2.13.0-alpha.6-py3.12-slim-jdk11-extra
Content Digest
sha256:99e4c2ae3f5dcd89d12fbc0a037a135c7ed6f86c5dcba7dcc810edb43113fb0b
Details
Created

2024-04-24 18:49:35 UTC

Size

315 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-04-24T18:49:14.475Z
  • org.opencontainers.image.description
    Official docker images for MCDReforged
  • org.opencontainers.image.licenses
    GPL-3.0
  • org.opencontainers.image.revision
    094519cc162c955b6f337a4a53ce49c958be8c37
  • org.opencontainers.image.source
    https://github.com/Fallen-Breath/MCDReforged-Docker
  • org.opencontainers.image.title
    MCDReforged-Docker
  • org.opencontainers.image.url
    https://github.com/Fallen-Breath/MCDReforged-Docker
  • org.opencontainers.image.version
    2.13.0-alpha.6-py3.12-slim-jdk11-extra

Environment
GPG_KEY

7169605F62C751356D054A26A821E680E5FA6305

LANG

C.UTF-8

PATH

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

PYTHON_GET_PIP_SHA256

dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

24.0

PYTHON_VERSION

3.12.3


Layers

[#000] sha256:b0a0cf830b12453b7e15359a804215a7bcccd3788e2bcecff2a03af64bbd4df7 - 8.81% (27.8 MB)

[#001] sha256:72914424168c8ebb0dbb3d0e08eb1d3b5b2a64cc51745bd65caf29c335b31dc7 - 1.06% (3.35 MB)

[#002] sha256:80818bc858ed42fd42f4516b3eb10724a93d35c34fe94d099ae130823940fc23 - 3.63% (11.4 MB)

[#003] sha256:805c2b19c21196c2d9a846487b073bb7715bc1f016c9c4a08b1aa8a942731a33 - 0.0% (244 Bytes)

[#004] sha256:7a89e8daeeae878299b4783191985469be90b4a5cfc1c147a922b457fa8d8f5f - 0.92% (2.91 MB)

[#005] sha256:4760568b16c87b4fa5a35354ca4b6358d09b74c90d565c74e692057fd6607fee - 2.58% (8.15 MB)

[#006] sha256:8479d7bdb7d7eb6ee29ced0ec15a7395c2db60e18a22bd22ad3a79da49ce98f5 - 0.0% (666 Bytes)

[#007] sha256:3d3c54eccc62f3e2b08bd83e491231fb90a21d4a40be186de9dcdf0ac1ca346a - 0.0% (94 Bytes)

[#008] sha256:fe7ebce7afc029e7550bb54d41f1b84290da6dfaa6ad9d7dc295facdbe313d46 - 0.0% (850 Bytes)

[#009] sha256:8dcfc0155115959115c6f966e7e2cd16f6ffcca40ba87eff5269b2eef42b7bc7 - 19.72% (62.2 MB)

[#010] sha256:a874b9d6d0a5304632ce74064e6ed007921b212853a7ec781ec2a7e895166615 - 63.27% (200 MB)


History
2024-04-24 03:28:09 UTC

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

2024-04-24 03:28:09 UTC

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

2024-04-09 15:49:24 UTC (buildkit.dockerfile.v0)

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

2024-04-09 15:49:24 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-04-09 15:49:24 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

2024-04-09 15:49:24 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2024-04-09 15:49:24 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12.3

2024-04-09 15:49:24 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

2024-04-09 15:49:24 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

2024-04-09 15:49:24 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=24.0

2024-04-09 15:49:24 UTC (buildkit.dockerfile.v0)

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

2024-04-09 15:49:24 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

2024-04-09 15:49:24 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" ; rm -f get-pip.py; pip --version # buildkit

2024-04-09 15:49:24 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-04-24 18:39:46 UTC (buildkit.dockerfile.v0)

ARG MCDR_REQUIREMENT=latest

2024-04-24 18:39:46 UTC (buildkit.dockerfile.v0)

ARG PYPI_INDEX=https://pypi.org/simple

2024-04-24 18:39:46 UTC (buildkit.dockerfile.v0)

RUN |2 MCDR_REQUIREMENT=2.13.0a6 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_REQUIREMENT" = "latest" ]; then pip3 install mcdreforged else pip3 install "mcdreforged==${MCDR_REQUIREMENT}" -i "$PYPI_INDEX" --extra-index-url https://pypi.org/simple fi pip3 cache purge && rm -rf ~/.cache/ # buildkit

2024-04-24 18:39:46 UTC (buildkit.dockerfile.v0)

RUN |2 MCDR_REQUIREMENT=2.13.0a6 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-04-24 18:39:46 UTC (buildkit.dockerfile.v0)

WORKDIR /mcdr

2024-04-24 18:39:46 UTC (buildkit.dockerfile.v0)

CMD ["python3" "-m" "mcdreforged" "start" "--auto-init"]

2024-04-24 18:40:22 UTC (buildkit.dockerfile.v0)

COPY requirements_extra.txt /tmp/ # buildkit

2024-04-24 18:40:46 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 pip 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-04-24 18:49:35 UTC (buildkit.dockerfile.v0)

ARG JAVA=17

2024-04-24 18:49:35 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

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