added a starter image to run jobs with
This commit is contained in:
13
runners/Dockerfile
Normal file
13
runners/Dockerfile
Normal 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
1
runners/Readme.md
Normal file
@@ -0,0 +1 @@
|
||||
A suggested simple image to run jobs inside with some tooling to manage setup and teardown and artifacts.
|
||||
5
runners/root_scripts/create-user.sh
Normal file
5
runners/root_scripts/create-user.sh
Normal 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"
|
||||
Reference in New Issue
Block a user