Created
February 1, 2016 13:59
-
-
Save ironicbadger/5d3a44e26df1abeed071 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
docker_image_tag="snapraid-from-source" | |
build_path="/tmp/snapraid-build/" | |
cd $build_path | |
docker build -t $docker_image_tag . | |
id=$(docker create --name snapraid-tmp $docker_image_tag) | |
docker cp $id:/artifact/ . | |
docker rm -v $id | |
docker rmi $docker_image_tag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment