Permalink
Browse files

in cases where the tar already contains app, this was useful

to maintain the minimal nature of buildstep, just added a comment instead of code on how to do this
  • Loading branch information...
1 parent 7199149 commit 884bc0329f0b1e6412ba8461fbae11f654d848d1 @bosky101 committed Oct 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 buildstep
View
@@ -3,7 +3,7 @@ set -e
NAME="$1"
TAG="$2"
-# Place the app inside the container
+# Place the app inside the container. If you already have app inside your tar, use /bin/bash -c "tar -x"
ID=$(cat | docker run -i -a stdin progrium/buildstep /bin/bash -c "mkdir -p /app && tar -xC /app")
test $(docker wait $ID) -eq 0
docker commit $ID $NAME $TAG > /dev/null

0 comments on commit 884bc03

Please sign in to comment.