news-pipeline (pipeline-fbe599c)
Published 2026-09-04 04:24:49 -05:00 by null
Installation
docker pull dream.scheller.ltd/null/news-pipeline:pipeline-fbe599csha256:9726a0468263c263a8d2e27daf68686f49572e48f89a5f7ab74bdc6a88ccb826About this package
The Daily News Digest pipeline: scripts, tests, crontab mirror and cronwrap.
Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1787529600' |
| ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ENV LANG=C.UTF-8 |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; apt-get dist-clean # buildkit |
| ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 |
| ENV PYTHON_VERSION=3.12.14 |
| ENV PYTHON_SHA256=5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a |
| RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev g++ 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 $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; case "$arch" in amd64|arm64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; i386) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; 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 -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit |
| 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 |
| CMD ["python3"] |
| LABEL com.centurylinklabs.watchtower.enable=false |
| LABEL org.opencontainers.image.title=daily-news-pipeline |
| LABEL org.opencontainers.image.source=https://git.isnull.dev/null/Daily-News-Digest |
| LABEL org.opencontainers.image.description=The Daily News Digest pipeline: scripts, tests, crontab mirror and cronwrap. |
| ENV TZ=America/Chicago |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl openssh-client tzdata; ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime; echo "$TZ" > /etc/timezone; rm -rf /var/lib/apt/lists/* # buildkit |
| ARG SUPERCRONIC_VERSION=v0.2.49 |
| ARG SUPERCRONIC_SHA256=a53ae236602c7338aba3fbaff40bda6300eae3b9fedb8261eb06cfe3724430c1 |
| RUN |2 SUPERCRONIC_VERSION=v0.2.49 SUPERCRONIC_SHA256=a53ae236602c7338aba3fbaff40bda6300eae3b9fedb8261eb06cfe3724430c1 /bin/sh -c set -eux; curl -fsSL --retry 3 -o /usr/local/bin/supercronic "https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-linux-amd64"; echo "${SUPERCRONIC_SHA256} /usr/local/bin/supercronic" | sha256sum -c -; chmod 0755 /usr/local/bin/supercronic; supercronic -version # buildkit |
| COPY cronwrap/ /opt/cronwrap/ # buildkit |
| COPY deploy/ /app/deploy/ # buildkit |
| COPY tests/ /app/tests/ # buildkit |
| COPY scripts/ /app/scripts/ # buildkit |
| COPY deploy/news/bin/openclaw /usr/local/bin/openclaw # buildkit |
| RUN |2 SUPERCRONIC_VERSION=v0.2.49 SUPERCRONIC_SHA256=a53ae236602c7338aba3fbaff40bda6300eae3b9fedb8261eb06cfe3724430c1 /bin/sh -c chmod 0755 /usr/local/bin/openclaw # buildkit |
| WORKDIR /app |
| RUN |2 SUPERCRONIC_VERSION=v0.2.49 SUPERCRONIC_SHA256=a53ae236602c7338aba3fbaff40bda6300eae3b9fedb8261eb06cfe3724430c1 /bin/sh -c set -eux; mkdir -p /app/var /root/.openclaw/var; mkdir -m 0700 -p /root/.ssh # buildkit |
| ENV PYTHONUNBUFFERED=1 |
| RUN |2 SUPERCRONIC_VERSION=v0.2.49 SUPERCRONIC_SHA256=a53ae236602c7338aba3fbaff40bda6300eae3b9fedb8261eb06cfe3724430c1 /bin/sh -c set -eux; printf '%s\n' '#!/bin/sh' '# Written by deploy/news/pipeline.Dockerfile. Edit it there.' 'set -eu' '' 'if [ "$#" -gt 0 ]; then exec "$@"; fi' '' 'if [ "${NEWS_CRON:-0}" != "1" ]; then' ' echo "news-pipeline: up, cron disabled (NEWS_CRON is ${NEWS_CRON:-unset})." >&2' ' echo "news-pipeline: docker exec works; nothing is on a schedule in here." >&2' ' exec sleep infinity' 'fi' '' 'f="${NEWS_CRONTAB:-}"' 'if [ -z "$f" ]; then' ' echo "news-pipeline: NEWS_CRON=1 but NEWS_CRONTAB names no file." >&2' ' echo "news-pipeline: refusing to guess. deploy/cron/system-crontab.txt is" >&2' ' echo " the RECORD of the whole host schedule on nyx, not a crontab for" >&2' ' echo " this container: ~35 rows belong to other projects, and an @reboot" >&2' ' echo " row in it is a schedule supercronic cannot parse." >&2' ' echo "news-pipeline: nothing was scheduled. Exit 2." >&2' ' exit 2' 'fi' 'if [ ! -r "$f" ]; then' ' echo "news-pipeline: NEWS_CRONTAB=$f is not readable. Nothing was scheduled. Exit 2." >&2' ' exit 2' 'fi' '' '# Parse before scheduling: a bad crontab must say so once, not restart for ever.' 'if ! supercronic -test "$f"; then' ' echo "news-pipeline: $f did not parse. Nothing was scheduled. Exit 2." >&2' ' exit 2' 'fi' 'echo "news-pipeline: cron enabled, running $f" >&2' 'exec supercronic "$f"' > /usr/local/bin/news-pipeline-entrypoint; chmod 0755 /usr/local/bin/news-pipeline-entrypoint; sh -n /usr/local/bin/news-pipeline-entrypoint # buildkit |
| ENTRYPOINT ["/usr/local/bin/news-pipeline-entrypoint"] |
Labels
| Key | Value |
|---|---|
| com.centurylinklabs.watchtower.enable | false |
| dev.dailynews.cronwrap-sha256 | b8c359ad36e088a1beb2e8303ddb56d2a6a260d64acd7a2a0151bde6ac511c66 |
| org.opencontainers.image.description | The Daily News Digest pipeline: scripts, tests, crontab mirror and cronwrap. |
| org.opencontainers.image.revision | fbe599c |
| org.opencontainers.image.source | https://git.isnull.dev/null/Daily-News-Digest |
| org.opencontainers.image.title | daily-news-pipeline |
Details
Versions (2)
View all
pipeline-fbe599c
2026-09-04
pipeline-3a5bbb2
2026-09-04