Docker: exec single commands

This replaces bash with the docker command, freeing memory and
automatically returning the exit code of the docker command as the exit
code of the shell script.
This commit is contained in:
2017-03-09 11:01:24 +01:00
parent 06cc338b08
commit 79b8194b2a
2 changed files with 2 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
#!/usr/bin/env bash
docker build -t pillar_base -f base.docker .;
exec docker build -t pillar_base -f base.docker .;