|
@@ -11,6 +11,10 @@ cp writefreely*.tar* bootstrap/
|
|
|
|
|
|
|
|
pushd bootstrap
|
|
pushd bootstrap
|
|
|
docker build -t writefreely-bootstrap .
|
|
docker build -t writefreely-bootstrap .
|
|
|
|
|
+if [ $? -ne 0 ]; then # catch errors
|
|
|
|
|
+ exit 1
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
docker run -it --rm -v ./data:/data writefreely-bootstrap
|
|
docker run -it --rm -v ./data:/data writefreely-bootstrap
|
|
|
if [ $? -ne 0 ]; then # catch errors
|
|
if [ $? -ne 0 ]; then # catch errors
|
|
|
exit 1
|
|
exit 1
|