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:
+1
-1
@@ -7,4 +7,4 @@ receiver/lib
|
||||
receiver/lib64
|
||||
receiver/pyenv.cfg
|
||||
receiver/include
|
||||
receiver/pwntools-doc
|
||||
receiver/pwntools-docreceiver/.venv/
|
||||
|
||||
@@ -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
@@ -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; }
|
||||
Reference in New Issue
Block a user