Makefile and siverten/ dockerfiles

This commit is contained in:
2021-09-14 14:59:53 +02:00
parent da03dbca37
commit c116be2f1c
8 changed files with 53 additions and 0 deletions

1
sh/build.sh Symbolic link
View File

@@ -0,0 +1 @@
docker.sh

10
sh/docker.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
op=`basename $0 .sh`
for context in $*; do
if [ "$op" == "build" ]; then
extra=" -t $context:latest"
else
extra=":latest"
fi
docker $op $context$extra
done

1
sh/push.sh Symbolic link
View File

@@ -0,0 +1 @@
docker.sh