From 7d6258e94e2ab892dd3276180f79a72028478bc7 Mon Sep 17 00:00:00 2001 From: Hermes Date: Wed, 23 Sep 2026 13:54:46 +0800 Subject: [PATCH] fix: use bookworm base for blogpost; route receiver history via :18080 - blogpost: python:3.11-slim-bullseye is EOL (apt 404s), switch to bookworm - utils/bashrc: host port 80 is taken by Traefik/Coolify, preexec posts to :18080 - ignore receiver .venv --- .gitignore | 2 +- services/blogpost/Dockerfile | 4 +++- utils/bashrc | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bd000cf..0db129e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,4 @@ receiver/lib receiver/lib64 receiver/pyenv.cfg receiver/include -receiver/pwntools-doc \ No newline at end of file +receiver/pwntools-docreceiver/.venv/ diff --git a/services/blogpost/Dockerfile b/services/blogpost/Dockerfile index 9afad55..f8f5b86 100644 --- a/services/blogpost/Dockerfile +++ b/services/blogpost/Dockerfile @@ -1,5 +1,7 @@ # Dockerfile -FROM python:3.11-slim-bullseye +# python:3.11-slim-bookworm (Debian 12, supported) — bullseye is EOL and its +# apt repos 404, so we build on the current stable slim image instead. +FROM python:3.11-slim-bookworm # Build-time args ARG PASSWORD diff --git a/utils/bashrc b/utils/bashrc index d733180..53573d6 100644 --- a/utils/bashrc +++ b/utils/bashrc @@ -1,2 +1,2 @@ source /root/.preexec.sh -preexec() { curl -s -X POST -H 'Content-Type: application/json' -d "{\"log\": \"[$(date +'%Y-%m-%d %H:%M:%S')][$(hostname)] $1\"}" http://host.docker.internal/history > /dev/null; } \ No newline at end of file +preexec() { curl -s -X POST -H 'Content-Type: application/json' -d "{\"log\": \"[$(date +'%Y-%m-%d %H:%M:%S')][$(hostname)] $1\"}" http://host.docker.internal:18080/history > /dev/null; } \ No newline at end of file