removing buildstep submodule and replacing it with the buildstep script that dokku actually uses. the buildstep project is otherwise completely separate other than the artifact it builds (the progrium/buildstep container)

This commit is contained in:
Jeff Lindsay committed 2013-06-30 01:17:32 -05:00
1 parent dc2c4825d8
commit 70be1daec4
6 files changed
+18 -22

No files matched your search

Submodule buildstep deleted from 7b0d89fd0b.
Executable
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
set -e
NAME="$1"
# Place the app inside the container
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 > /dev/null
# Run the builder script and attach to view output
ID=$(docker run -d $NAME /build/builder)
docker attach $ID
test $(docker wait $ID) -eq 0
docker commit $ID $NAME > /dev/null