Created
October 28, 2019 22:57
-
-
Save alvinthomas/85ea075bc936e8c4eddb27972e20048f to your computer and use it in GitHub Desktop.
An example using a modified docker tidyverse to output a list
This file contains 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
#!/usr/bin/env bash | |
docker pull rocker/tidyverse | |
mkdir temp | |
cd temp | |
git clone https://gist.github.com/6972090d67ae353d39a11611f00d8dd0.git | |
mv ./6972090d67ae353d39a11611f00d8dd0 ./docker_example | |
cd docker_example | |
docker build -t docker_example . | |
git clone https://gist.github.com/c6153a605125b9e75a61b6a68b1bdfd5.git | |
mv c6153a605125b9e75a61b6a68b1bdfd5/hgwells_wordcounts2.R ../ | |
rm -rf c6153a605125b9e75a61b6a68b1bdfd5 | |
cd .. | |
git clone https://gist.github.com/dc46412ebc7d85dd357dac993fc39dd2.git | |
mv dc46412ebc7d85dd357dac993fc39dd2/run_docker_example.sh . | |
rm -rf dc46412ebc7d85dd357dac993fc39dd2 | |
#docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) -p 8787:8787 -e PASSWORD=1234 docker_example /bin/bash | |
bash run_docker_example.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment