Namespace
mcdreforged
Image / Tag
mcdreforged-temurin:2.14.0-beta.2-py3.11-extra
Content Digest
sha256:9550018b47a3bb85254fb8a39184a1ee47521b4d7dde5eddf69f493fa771bf23
Details
Created

2024-11-25 11:47:25 UTC

Size

669 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-11-25T11:47:00.630Z
  • org.opencontainers.image.description
    Official docker images for MCDReforged
  • org.opencontainers.image.licenses
    GPL-3.0
  • org.opencontainers.image.revision
    182eb8bbfaf76a532cc4b7fe3e33a9b0a155b419
  • org.opencontainers.image.source
    https://github.com/MCDReforged/docker
  • org.opencontainers.image.title
    docker
  • org.opencontainers.image.url
    https://github.com/MCDReforged/docker
  • org.opencontainers.image.version
    2.14.0-beta.2-py3.11-extra

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

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

PYTHON_SHA256

07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

PYTHON_VERSION

3.11.10


Layers

[#000] sha256:b2b31b28ee3c96e96195c754f8679f690db4b18e475682d716122016ef056f39 - 7.06% (47.3 MB)

[#001] sha256:c3cc7b6f04730c072f8b292917e0d95bb886096a2b2b1781196170965161cd27 - 3.43% (22.9 MB)

[#002] sha256:2112e5e7c3ff699043b282f1ff24d3ef185c080c28846f1d7acc5ccf650bc13d - 9.17% (61.4 MB)

[#003] sha256:af247aac076473044d24960a352a8ec6f154cf0a28f4fbf35fe5d43b52687ba2 - 30.1% (202 MB)

[#004] sha256:6f47d6e914288e17a55b4aa7e3b7729d4af842a61d64e4739e83cac341ca128e - 0.88% (5.88 MB)

[#005] sha256:0ded565f374640b5419d27084a28e0b42ca49936d78d908e5dc8cc1ca8e4414e - 3.46% (23.2 MB)

[#006] sha256:c03fa7c846dfee5a49b8537da88567f06fc403bb2294108212d2c69aabd271d2 - 0.0% (248 Bytes)

[#007] sha256:58e480ee1d8dc9a821ddf9dcbf12e7c04d3f013fb618e1fa0c2202d8ec4bcded - 1.57% (10.5 MB)

[#008] sha256:6baf6ad977c512ab1cee8cb121de82f64d4fc74ecedcfe6f54bcc4dbca956c60 - 0.0% (664 Bytes)

[#009] sha256:19a2491ead66dbe69e579f791f63b8eb86c1ba99018b082383d97dfdb1f7a59e - 0.0% (94 Bytes)

[#010] sha256:eba5f24ef66cd75c00b0845f5300bad54e73b87a2d3821e2a7e8b5206f8c0e7f - 0.0% (1.16 KB)

[#011] sha256:93870d6d93d899319fdad1fe704b1de20388be523fa4abc29ad6de01cbe18b78 - 13.89% (93 MB)

[#012] sha256:b4936acb97a8d3ec495b890b2dd0cf17d963e0a280e3314d81deddb908f4cfb9 - 30.43% (204 MB)


History
2023-05-10 23:29:59 UTC (buildkit.dockerfile.v0)

ADD rootfs.tar.xz / # buildkit

2023-05-10 23:29:59 UTC (buildkit.dockerfile.v0)

CMD ["bash"]

2023-05-10 23:29:59 UTC (buildkit.dockerfile.v0)

RUN /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/* # buildkit

2024-01-09 01:14:25 UTC (buildkit.dockerfile.v0)

RUN /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/* # buildkit

2024-01-09 01:14:25 UTC (buildkit.dockerfile.v0)

RUN /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/* # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

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

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-10-18 23:23:40 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-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.10

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

2024-10-18 23:23:40 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"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 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-10-18 23:23:40 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-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-11-25 11:40:57 UTC (buildkit.dockerfile.v0)

ARG MCDR_VERSION_REQUIREMENT=2.14.0b2

2024-11-25 11:40:57 UTC (buildkit.dockerfile.v0)

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

2024-11-25 11:40:57 UTC (buildkit.dockerfile.v0)

RUN |2 MCDR_VERSION_REQUIREMENT=2.14.0b2 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-11-25 11:40:57 UTC (buildkit.dockerfile.v0)

RUN |2 MCDR_VERSION_REQUIREMENT=2.14.0b2 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-11-25 11:40:57 UTC (buildkit.dockerfile.v0)

WORKDIR /mcdr

2024-11-25 11:40:57 UTC (buildkit.dockerfile.v0)

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

2024-11-25 11:42:36 UTC (buildkit.dockerfile.v0)

COPY requirements_extra.txt /tmp/ # buildkit

2024-11-25 11:42: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 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-11-25 11:47:25 UTC (buildkit.dockerfile.v0)

ARG JAVA=21

2024-11-25 11:47:25 UTC (buildkit.dockerfile.v0)

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