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:
@@ -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 .;
|
||||
|
Reference in New Issue
Block a user