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
This commit is contained in:
Hermes
2026-09-23 13:54:46 +08:00
parent 615f8aa130
commit 7d6258e94e
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -7,4 +7,4 @@ receiver/lib
receiver/lib64
receiver/pyenv.cfg
receiver/include
receiver/pwntools-doc
receiver/pwntools-docreceiver/.venv/
+3 -1
View File
@@ -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
+1 -1
View File
@@ -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; }
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; }