mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 20:39:31 +00:00
Restructured some things and made 1000:100 the default user. Added debian base image, tests and update README.md
This commit is contained in:
parent
69373cf311
commit
1b0a49e606
10 changed files with 126 additions and 54 deletions
21
build-n-test.sh
Executable file
21
build-n-test.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh
|
||||
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
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue