added a starter image to run jobs with

This commit is contained in:
Michael Woods
2025-01-06 20:57:03 -05:00
parent 0a2b1f5e37
commit 1a5f216278
3 changed files with 19 additions and 0 deletions

13
runners/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM debian
USER root
RUN apt-get update && apt-get install -y elinks whois wget python3 knot-dnsutils python3-requests\
openssh-client curl inetutils-ping nmap aria2 git less jq 7zip p7zip-full p7zip unzip zip yq rsync ddgr bzip2\
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /root/bin
COPY root_scripts/* /root/bin/
RUN chmod 700 /root/bin/*

1
runners/Readme.md Normal file
View File

@@ -0,0 +1 @@
A suggested simple image to run jobs inside with some tooling to manage setup and teardown and artifacts.

View File

@@ -0,0 +1,5 @@
#!/bin/bash
useradd -m -s /bin/bash "$1"
mkdir -p "/home/$1/.packetserver/artifacts"
mkdir -p "/home/$1/.packetserver/objects"