add RNSD container
This commit is contained in:
commit
fbb1ac5947
4 changed files with 30 additions and 0 deletions
2
README.md
Normal file
2
README.md
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# RETICULUM NODE CONTAINER
|
||||
container for running a reticulum node
|
||||
20
rnsd/Containerfile
Normal file
20
rnsd/Containerfile
Normal file
|
|
@ -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"]
|
||||
3
rnsd/run.sh
Executable file
3
rnsd/run.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
source rnsd_venv/bin/activate
|
||||
rnsd
|
||||
5
rnsd/setup.sh
Executable file
5
rnsd/setup.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
pwd
|
||||
python3 -m venv rnsd_venv
|
||||
source rnsd_venv/bin/activate
|
||||
pip install rns
|
||||
Loading…
Add table
Add a link
Reference in a new issue