Namespace
mcdreforged
Image / Tag
mcdreforged-temurin:2.13.0-alpha.4-py3.12-jdk17-extra
Content Digest
sha256:29b370ecbb03bb021a8a8acc1157f78baefc54d82a330f352abcabef32d82246
Details
Created

2023-12-31 19:49:11 UTC

Size

620 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2023-12-31T19:48:43.785Z
  • org.opencontainers.image.description
    Official docker images for MCDReforged
  • org.opencontainers.image.licenses
    GPL-3.0
  • org.opencontainers.image.revision
    8f6f03ee4d3d593c73eceb58447985993d780504
  • 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.4-py3.12-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

9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

23.2.1

PYTHON_VERSION

3.12.1


Layers

[#000] sha256:bc0734b949dcdcabe5bfdf0c8b9f44491e0fce04cb10c9c6e76282b9f6abdf01 - 7.62% (47.3 MB)

[#001] sha256:b5de22c0f5cd2ea2bb6c0524478db95bff5a294c99419ccd4a9d3ccc9873bad9 - 3.7% (22.9 MB)

[#002] sha256:917ee5330e73737d6095a802333d311648959399ff2c067150890162e720f863 - 9.86% (61.2 MB)

[#003] sha256:b43bd898d5fbe0e1606380820047fd1e8b421722c9e69ac12757474305bd6702 - 32.47% (201 MB)

[#004] sha256:7fad4bffde2444237b82386b9b704d8ac48a54eee2c992e377a3a28da49b98d3 - 0.98% (6.09 MB)

[#005] sha256:d685eb68699fbf7079bd4e1ddb1ddd1cca94bf6845ebc74bbc89c4710c7cbef9 - 3.49% (21.6 MB)

[#006] sha256:107007f161d0b2486540dd21b063ed88d5ebb9331bcf02486c7115fcd8b79877 - 0.0% (245 Bytes)

[#007] sha256:02b85463d724f44078489093ab52ccd4b53afdb1a77c524ae99208a9d222a20c - 0.41% (2.55 MB)

[#008] sha256:779616505c3005729e48f9f4074c1783be40bb286ac2fe90a5b902492354a365 - 1.55% (9.58 MB)

[#009] sha256:c2d74067ea8b7ba4c65522cec933ea2b4f04a1c6448729ea28dc8febb42794f0 - 0.0% (667 Bytes)

[#010] sha256:a8cdb8ce6dd8b8d10d20a47dc97dbc7ba08eb9f1ddc577c86b7c7cfcaa0c8dd1 - 0.0% (94 Bytes)

[#011] sha256:8caf09261612fba6f15eddbe671b506d2f094008bde017ec8589e9feb4577d0a - 0.0% (622 Bytes)

[#012] sha256:f03bdff7891c33383204383faa31a4dc685560abc1ad6d857f51bdb6e079ee1c - 9.11% (56.5 MB)

[#013] sha256:42f46c4c81bd1d5dfceca31d93e23b928274899968a1fe0706e8f5d15caf1713 - 30.81% (191 MB)


History
2023-12-19 01:20:15 UTC

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

2023-12-19 01:20:16 UTC

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

2023-12-19 04:32:02 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/*

2023-12-19 04:32:22 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*

2023-12-19 04:33:21 UTC

/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 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 $( if apt-cache show 'default-libmysqlclient-dev' 2>/dev/null | grep -q '^Version:'; then echo 'default-libmysqlclient-dev'; else echo 'libmysqlclient-dev'; fi ) ; rm -rf /var/lib/apt/lists/*

2023-12-08 04:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-08 04:49:21 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-12-08 04:49:21 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

2023-12-08 04:49:21 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2023-12-08 04:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12.1

2023-12-08 04:49:21 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 --without-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; python3 --version # buildkit

2023-12-08 04:49:21 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-12-08 04:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.2.1

2023-12-08 04:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-08 04:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

2023-12-08 04:49:21 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; 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

2023-12-08 04:49:21 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-12-31 19:39:13 UTC (buildkit.dockerfile.v0)

ARG MCDR_REQUIREMENT=latest

2023-12-31 19:39:13 UTC (buildkit.dockerfile.v0)

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

2023-12-31 19:39:13 UTC (buildkit.dockerfile.v0)

RUN |2 MCDR_REQUIREMENT=2.13.0a4 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

2023-12-31 19:39:13 UTC (buildkit.dockerfile.v0)

RUN |2 MCDR_REQUIREMENT=2.13.0a4 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

2023-12-31 19:39:13 UTC (buildkit.dockerfile.v0)

WORKDIR /mcdr

2023-12-31 19:39:13 UTC (buildkit.dockerfile.v0)

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

2023-12-31 19:44:41 UTC (buildkit.dockerfile.v0)

COPY requirements_common.txt /tmp/ # buildkit

2023-12-31 19:44:58 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 if python3 -V 2>&1 | grep -q "3.12."; then if ! command -v gcc &> /dev/null; then # lz4 doesn't have prebuilt wheels for py3.12 yet # https://github.com/python-lz4/python-lz4/issues/274 sed -i '/lz4/d' /tmp/requirements_common.txt fi fi pip freeze | grep mcdreforged >> /tmp/requirements_common.txt pip3 install -r /tmp/requirements_common.txt rm -f /tmp/requirements_common.txt pip3 cache purge && rm -rf ~/.cache/ # buildkit

2023-12-31 19:49:11 UTC (buildkit.dockerfile.v0)

ARG JAVA=17

2023-12-31 19:49:11 UTC (buildkit.dockerfile.v0)

RUN |1 JAVA=17 /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