build proper dockerized example

This commit is contained in:
Dominic Breuker
2018-02-18 14:03:59 +01:00
parent 6b1f75f4d8
commit 773f370c35
13 changed files with 111 additions and 32 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
sudo cron -f &
sleep 1
sudo ps | grep cron 1>/dev/null
echo "[+] cron started"
echo "[+] Running as user `id`"
echo "[+] Dropping into shell..."
exec /bin/bash