diff options
author | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-01-21 19:07:38 +0100 |
---|---|---|
committer | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-01-21 19:07:38 +0100 |
commit | 709c78569b26677624e60588fa1166dc659ac93c (patch) | |
tree | 2bd5555af31b637d03693b8563fb24b41bf1f22b /nms/makedockerfiles.sh | |
parent | f5da0d943401e527f5162e9c6344deb65b19b045 (diff) |
chore: cleanup repo
Diffstat (limited to 'nms/makedockerfiles.sh')
-rwxr-xr-x | nms/makedockerfiles.sh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/nms/makedockerfiles.sh b/nms/makedockerfiles.sh deleted file mode 100755 index 6c7e3da..0000000 --- a/nms/makedockerfiles.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -awk -v TARGET=/dev/null ' -BEGIN { - system("mkdir -p build") -} -/^@template/ { - TARGET="build/Dockerfile."$2; - TARGETS[ntargets++]=$2; - print "# Generated" > TARGET - next; -} -{ - print > TARGET -} -END { - print "#! /bin/sh" > "build/build.sh" - print "set -e" > "build/build.sh" - for (x in TARGETS) { - a = TARGETS[x] - print "echo Building "a > "build/build.sh" - print "echo Logs: build/"a".log" > "build/build.sh" - print "docker build -t "a" -f build/Dockerfile."a" . > build/"a".log 2>&1 || cat build/"a".log" > "build/build.sh" - } - system("chmod +x build/build.sh") -}' < Dockerfile.in -build/build.sh |