Created
August 18, 2014 18:46
-
-
Save jschneiderhan/97b2c8bf32043a85e18c to your computer and use it in GitHub Desktop.
Getting exit code 3 from slugbuilder
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
# Cat tar contents into container | |
docker@boot2docker:~$ id=$(cat source.tar | docker run -i -a stdin flynn/slugbuilder) | |
docker@boot2docker:~$ docker wait $id | |
3 | |
docker@boot2docker:~$ docker logs $id | |
-----> Ruby app detected | |
-----> Compiling Ruby/Rails | |
... | |
-----> Compiled slug size is 71M | |
# Mount volume and run from inside container | |
docker@boot2docker:~$ ls | |
boot2docker, please format-me source.tar | |
docker@boot2docker:~$ docker run -ti -v /home/docker/:/var/source/ --entrypoint bash flynn/slugbuilder -s | |
slugbuilder@27b03669cb52:/$ cat /var/source/source.tar | /tmp/builder/build.sh | |
-----> Ruby app detected | |
-----> Compiling Ruby/Rails | |
... | |
-----> Compiled slug size is 71M | |
slugbuilder@27b03669cb52:/$ echo $? | |
0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment