Initial Awawawa

This commit is contained in:
mueller_minki
2026-10-04 09:08:27 +02:00
commit 8e83a98ef4
76 changed files with 8225 additions and 0 deletions

18
docker/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# PatchBay test image; the same image runs as target or client (see entrypoint.sh).
FROM debian:trixie-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential pkg-config libssh2-1-dev libsqlite3-dev \
openssh-server openssh-client python3 python3-flask python3-cryptography \
sqlite3 netcat-openbsd iproute2 procps socat curl ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /src
COPY . /src
RUN make clean && make all test-c && make install \
&& useradd --system --home-dir /nonexistent --shell /bin/sh patchbay \
&& usermod -p '*' patchbay \
&& mkdir -p /etc/patchbay /run/sshd
COPY docker/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]