work/bin/start
sneak f5c7654cc8
Some checks failed
continuous-integration/drone/push Build is failing
fix var names, move paths, upgrade pip
2020-04-11 12:18:22 -07:00

16 lines
306 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 /home/sneak:/hosthome \
-v /var/run/docker.sock:/var/run/docker.sock \
sneak/work