Add reproducible Docker and WireGuard host bootstrap

This commit is contained in:
Mikei386
2026-08-20 21:23:16 +02:00
parent cb07779f5a
commit e83c0e2c70
25 changed files with 1584 additions and 835 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM python:3.13.7-slim
RUN apt-get update && apt-get install -y --no-install-recommends gosu && \
rm -rf /var/lib/apt/lists/* && \
useradd --system --uid 10002 --home /nonexistent --shell /usr/sbin/nologin router
WORKDIR /app
COPY router/ai_profile_router.py router/router_support.py /app/
COPY platform/docker/router/entrypoint.sh /usr/local/bin/router-entrypoint
RUN chmod 0755 /usr/local/bin/router-entrypoint
ENTRYPOINT ["router-entrypoint"]