work/bin/start
sneak 09ccfe26fd
Some checks reported errors
continuous-integration/drone/push Build was killed
testing
2020-04-11 11:55:50 -07:00

15 lines
275 B
Bash
Executable File

#!/bin/bash
pushd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)/../"
docker build -t sneak/work .
popd
# FIXME ssh host keys
docker run \
-d \
--name work \
-v /:/hostroot \
-v /var/run/docker.sock:/var/run/docker.sock \
sneak/work