diff options
| author | mo khan <mo.khan@gmail.com> | 2019-10-24 12:18:20 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-10-24 12:18:20 -0600 |
| commit | 539deb66c2afd5f681b61ea19df2e399e46384a0 (patch) | |
| tree | 02435edb6931aebacbdf5196380a2048b520e70c | |
| parent | 32327fbdf04fca4ee33e82ae2788ebd675fe9c5f (diff) | |
Add docker-build script
| -rwxr-xr-x | bin/docker-build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/docker-build b/bin/docker-build new file mode 100755 index 0000000..741aa72 --- /dev/null +++ b/bin/docker-build @@ -0,0 +1,5 @@ +#!/bin/sh + +IMAGE_NAME=${IMAGE_NAME:-$(basename "$PWD"):latest} + +docker build . -t "$IMAGE_NAME" --pull |
