Add support for building ubuntu:20.04-based docker images + some automation
This commit is contained in:
parent
f7372fc393
commit
348a4b0865
9 changed files with 200 additions and 55 deletions
11
build-docker-images.sh
Executable file
11
build-docker-images.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
prefix="${1:-local/}"
|
||||
|
||||
for dokerfile in dockerfiles/Dockerfile.* ; do
|
||||
suffix="`echo "$dokerfile" | sed 's/.*\/Dockerfile\.//'`"
|
||||
image_name="${prefix}zeronet:$suffix"
|
||||
echo "DOCKER BUILD $image_name"
|
||||
docker build -f "$dokerfile" -t "$image_name" .
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue