Namespace
shenxianmq
Image / Tag
redia:latest
Content Digest
sha256:8ae2e85307a31818a8ba2f6c86a8925c65dd259935a6fe1bd0765037b03bde77
Details
Created

2026-07-03 12:10:28 UTC

Size

398 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-07-03T12:09:50.851Z
  • org.opencontainers.image.description
    Redia-amd
  • org.opencontainers.image.licenses
  • org.opencontainers.image.revision
    cac6086f88889edd033d06018691e9132106bc78
  • org.opencontainers.image.source
    https://github.com/shenxianmq/Redia-amd
  • org.opencontainers.image.title
    Redia-amd
  • org.opencontainers.image.url
    https://github.com/shenxianmq/Redia-amd
  • org.opencontainers.image.version
    1.0.3.5

Environment
CONFIG_DIR

/config

GPG_KEY

7169605F62C751356D054A26A821E680E5FA6305

HOME

/redia

LANG

C.UTF-8

NGINX_PORT

9025

PATH

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

PGID

0

PORT

15895

PUID

0

PYTHON_SHA256

24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550

PYTHON_VERSION

3.12.7

TERM

xterm

TZ

Asia/Shanghai

UMASK

000


Layers

[#000] sha256:bc0965b23a04fe7f2d9fb20f597008fcf89891de1c705ffc1c80483a1f098e4f - 6.76% (26.9 MB)

[#001] sha256:5e739003c33414360cf2cec9452e1935b1bfcae79f279c33009bf4c0d5596f52 - 0.79% (3.16 MB)

[#002] sha256:5f86e0092844f78afa84a3b63059ea82e82fa93a28eedde55386370d924e8cf3 - 3.26% (13 MB)

[#003] sha256:46271edb89aec00565d974118707aaded82928c7ea7cb0a2bcc94b1f17e17e3d - 0.0% (249 Bytes)

[#004] sha256:2eacb2ff223005668f98abbd29b3407b1c197c5c89f336d7affae4d28c270e72 - 0.0% (92 Bytes)

[#005] sha256:d865cb56c8f501390aa2b241f60b0b6bec5a2f0bf5fa4541a38c2f40f201e1d6 - 25.93% (103 MB)

[#006] sha256:456b62aa4b9096159e9679c63ffb571b43586a24848508c4d5fc561299826f45 - 0.0% (1.37 KB)

[#007] sha256:297c4826764bcf134cdc10e62caf43cd2d7db1652e2a973402247242637c981f - 48.18% (192 MB)

[#008] sha256:8c6b60f1fdcd3d52a89b50fd196810866f5611aa3754e38fc04b0ff513303082 - 7.74% (30.8 MB)

[#009] sha256:f971ec7245f306972dfa964f5e4b526d0ca2ac0e33ab38f235b07d836b374dd6 - 0.11% (429 KB)

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

[#011] sha256:a6b283408a6b75bd8d89edca2ca3f69d1b6dd5bb7c223a590c90a91c083cbccf - 5.3% (21.1 MB)

[#012] sha256:d177aa08e881f2e9bf6da8523efc0e49b08e006a627e9b01bd90e68a697869ae - 1.89% (7.53 MB)

[#013] sha256:4a2cfa3e09af7fdfd317c73cb8de027daf14c7bd3e88883ed2a6b5b756ce75f5 - 0.0% (19.3 KB)

[#014] sha256:91efb7ef8b37454dcd03cc66a694653d9f03a17bbdc4f8cc58ea6874f7412b11 - 0.0% (632 Bytes)

[#015] sha256:1d828aa199fa52d86cda8ed13b2918923a6aae6cd4d9d1ebaf42e7265d845e71 - 0.03% (133 KB)


History
2024-10-18 23:23:40 UTC (debuerreotype 0.15)

# debian.sh --arch 'amd64' out/ 'bookworm' '@1733097600'

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 ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit

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

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

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

ENV PYTHON_VERSION=3.12.7

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

ENV PYTHON_SHA256=24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550

2024-10-18 23:23:40 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 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"; 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)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 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; 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/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; 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-12-05 01:22:03 UTC (buildkit.dockerfile.v0)

ARG REDIA_VERSION

2024-12-05 01:22:03 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8 TZ=Asia/Shanghai HOME=/redia CONFIG_DIR=/config TERM=xterm PUID=0 PGID=0 UMASK=000 PORT=15895 NGINX_PORT=9025

2024-12-05 01:22:03 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2025-06-14 04:47:20 UTC (buildkit.dockerfile.v0)

COPY /build/wheels /wheels # buildkit

2025-06-14 04:47:20 UTC (buildkit.dockerfile.v0)

COPY requirements.txt . # buildkit

2025-06-14 06:38:46 UTC (buildkit.dockerfile.v0)

RUN |1 REDIA_VERSION= /bin/sh -c apt-get update -y && apt-get upgrade -y && apt-get install -y --no-install-recommends nginx gettext-base locales procps gosu bash wget curl busybox dumb-init jq haproxy vim && apt-get autoremove -y && apt-get clean -y && pip install --upgrade pip --no-cache-dir && pip install --no-cache-dir --no-index --find-links=/wheels -r requirements.txt && rm -rf /wheels requirements.txt /tmp/* /redia/.cache /var/lib/apt/lists/* /var/tmp/* # buildkit

2025-06-14 06:51:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update -y && apt-get install -y caddy # buildkit

2026-05-02 05:28:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install h2 # buildkit

2026-06-29 13:50:47 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2026-07-03 12:10:28 UTC (buildkit.dockerfile.v0)

COPY . . # buildkit

2026-07-03 12:10:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c cp -f /app/nginx.conf /etc/nginx/nginx.template.conf && mv /app/public /public && cp -f /app/entrypoint /entrypoint && chmod +x /entrypoint && mkdir -p ${HOME} /var/lib/haproxy/server-state && groupadd -r redia -g 985 && useradd -r redia -g redia -d ${HOME} -s /bin/bash -u 985 && python_ver=$(python3 -V | awk '{print $2}') && echo "/app/" > /usr/local/lib/python${python_ver%.*}/site-packages/app.pth && echo 'fs.inotify.max_user_watches=5242880' >> /etc/sysctl.conf && echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf && locale-gen zh_CN.UTF-8 # buildkit

2026-07-03 12:10:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c python3 compile.py # buildkit

2026-07-03 12:10:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c python3 initialize.py # buildkit

2026-07-03 12:10:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c cp /app/Redia/__init__.py /app/Redia/__main__.py # buildkit

2026-07-03 12:10:28 UTC (buildkit.dockerfile.v0)

EXPOSE [9025/tcp]

2026-07-03 12:10:28 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint"]

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