commit fbb1ac5947edd7545b7685b3256a1898441a3a8e Author: sigil-03 Date: Tue Sep 23 14:07:59 2025 -0600 add RNSD container diff --git a/README.md b/README.md new file mode 100644 index 0000000..c2181a4 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# RETICULUM NODE CONTAINER +container for running a reticulum node diff --git a/rnsd/Containerfile b/rnsd/Containerfile new file mode 100644 index 0000000..47f22a5 --- /dev/null +++ b/rnsd/Containerfile @@ -0,0 +1,20 @@ +FROM debian:stable-slim + +# INSTALL PYTHON +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + python3 \ + python3-venv \ + python3-pip && \ + apt-get clean + +# SET UP VENV AND INSTALL RNSD +WORKDIR /rnsd +COPY setup.sh ./ +RUN ./setup.sh + + +# LOAD RUN SCRIPT +COPY run.sh ./ + +ENTRYPOINT ["bash","/rnsd/run.sh"] diff --git a/rnsd/run.sh b/rnsd/run.sh new file mode 100755 index 0000000..cb40c2b --- /dev/null +++ b/rnsd/run.sh @@ -0,0 +1,3 @@ +#!/bin/bash +source rnsd_venv/bin/activate +rnsd diff --git a/rnsd/setup.sh b/rnsd/setup.sh new file mode 100755 index 0000000..ff9aa35 --- /dev/null +++ b/rnsd/setup.sh @@ -0,0 +1,5 @@ +#!/bin/bash +pwd +python3 -m venv rnsd_venv +source rnsd_venv/bin/activate +pip install rns