diff --git a/.drone.yml b/.drone.yml index 50a97b0..34c994f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,6 @@ name: default steps: - name: docker image: plugins/docker - network_mode: bridge settings: build_args: - UBUNTU_MIRROR_URL=http://ubuntumirror.app.las1.eeqj.de/ubuntu diff --git a/Dockerfile b/Dockerfile index 594b0b7..f13ae06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,3 +17,5 @@ RUN apt-get clean && \ /tmp/* \ /var/tmp/* \ /etc/ssh/ssh_host_*_key + +EXPOSE 22 diff --git a/README.markdown b/README.markdown index ba0c268..9a77f82 100644 --- a/README.markdown +++ b/README.markdown @@ -1,55 +1,11 @@ -# Usage +# sneak/sandbox + +FIXME update this example command ``` -docker run -d --name sandbox sneak/sandbox ; -docker exec -ti sandbox script -q -c "TERM=xterm-color byobu" /dev/null +docker run -d -p 22:22 -v /home:/home sneak/sandbox ``` -(The 'script' bit works around a bug where `docker exec -t` doesn't -give you a usable tty.) - -Or, if you're clever and run an Ubuntu mirror (or caching reverse proxy) on -your docker host: - -``` -docker run -d --add-host archive.ubuntu.com:172.17.0.1 --name sandbox sneak/sandbox ; -docker exec -ti sandbox script -q -c "TERM=xterm-color byobu" /dev/null -``` - -# Includes Things Like - -* vim -* neovim -* rbenv -* default-jre -* docker (from docker) -* docker-compose -* docker-machine -* bash completion -* python (from ubuntu) - * setuptools - * virtualenv -* node4 (from ubuntu) - * coffeescript - * coffeelint -* go1.6 (from ubuntu) -* byobu and screen -* awscli (from pypi) -* irssi -* runit / daemontools - * envdir -* build-essential - * make -* latex and fonts (from ubuntu) -* Other useful misc tools - * pv - * pbzip2 - * nmap - * ppss - * pwgen - * netcat and telnet - * and much more... - # TODO * ctags / enhanced vim @@ -72,12 +28,12 @@ docker exec -ti sandbox script -q -c "TERM=xterm-color byobu" /dev/null Feedback is appreciated, PRs are encouraged. -Drop me an email or tweet [@sneakdotberlin](https://twitter.com/sneakdotberlin). - # Author Jeffrey Paul <sneak@sneak.berlin> +[sneak@sneak.berlin](mailto:sneak@sneak.berlin) + https://sneak.berlin [@sneakdotberlin](https://twitter.com/sneakdotberlin) diff --git a/run.sh b/run.sh index 68f8f3f..4ed7cc0 100644 --- a/run.sh +++ b/run.sh @@ -6,7 +6,7 @@ set -e exec 1> >(tee -a /var/log/sandboxbuild.log) 2>&1 MURM="main universe restricted multiverse" -C="$(lsb_release -cs)" +C="focal" cat > /etc/apt/sources.list.new <