feat: add early wip based podman demonstrator

This commit is contained in:
wucke13
2023-12-23 17:31:12 +01:00
parent 08cae26df0
commit 75176a66ee
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
FROM rust:slim as build
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
pkg-config \
libclang-dev \
libsodium-dev
WORKDIR /code
COPY . /code
RUN cargo install --path rosenpass --root / --bins \
&& cargo install --path wireguard-broker --root / --bins
# RUN apt-get install -y libcap2-bin \
# setcap CAP_NET_ADMIN=+eip "$(which rosenpass-wireguard-broker-privileged)"
CMD rosenpass