Last active
March 26, 2017 20:59
-
-
Save mattes/10537441 to your computer and use it in GitHub Desktop.
inject minimal set of dotfiles into running docker container (https://github.com/mattes/dotfiles)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
current_dir=$(pwd) && \ | |
cd /tmp && \ | |
( curl -L -s -o dotfiles.tar.gz https://github.com/mattes/dotfiles/archive/master.tar.gz > /dev/null 2>&1 || \ | |
wget -O dotfiles.tar.gz https://github.com/mattes/dotfiles/archive/master.tar.gz > /dev/null 2>&1) && \ | |
tar xfz dotfiles.tar.gz && \ | |
cd ./dotfiles-master && \ | |
source docker_dotfiles.sh > /dev/null && \ | |
cd $current_dir && \ | |
unset current_dir && \ | |
rm -rf /tmp/dotfiles-master && \ | |
rm /tmp/dotfiles.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
short url: http://git.io/apeepg