Skip to content

Commit

Permalink
Add script for entering docker environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Jun 13, 2018
1 parent 2af632a commit bd470cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/docker.sh
@@ -0,0 +1,5 @@
docker run --cap-add MKNOD --cap-add SYS_ADMIN --device /dev/fuse \
-e LOCAL_UID="$(id -u)" -e LOCAL_GID="$(id -g)" \
-v redox-"$(id -u)-$(id -g)"-cargo:/usr/local/cargo \
-v redox-"$(id -u)-$(id -g)"-rustup:/usr/local/rustup \
-v "$(pwd):$(pwd)" -w "$(pwd)" --rm -it redoxos/redox "$@"

0 comments on commit bd470cc

Please sign in to comment.