Restructured some things and made 1000:100 the default user. Added debian base image, tests and update README.md

This commit is contained in:
PlusMinus0 2018-11-17 22:53:34 +01:00
parent 69373cf311
commit 1b0a49e606
10 changed files with 126 additions and 54 deletions

21
build-n-test.sh Executable file
View 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