mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 11:44:51 +00:00
build proper dockerized example
This commit is contained in:
13
docker/entrypoint-development.sh
Normal file
13
docker/entrypoint-development.sh
Normal 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
|
||||
Reference in New Issue
Block a user