mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 18:39:27 +00:00
21 lines
348 B
Bash
Executable file
21 lines
348 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
images=('alpine' 'debian')
|
|
|
|
if [ "$(docker version --format '{{.Server.Experimental}}')" = 'true' ]; then
|
|
export DOCKER_BUILDKIT=1
|
|
fi
|
|
|
|
|
|
for image in "${images[@]}"; do
|
|
tag="jd2dev:${image}"
|
|
|
|
echo "Building $tag"
|
|
docker build -t $tag -f $image.Dockerfile .
|
|
|
|
echo "Testing image"
|
|
dgoss run $tag
|
|
done
|
|
|
|
|