add docker image

This commit is contained in:
Bruno Clermont
2017-06-22 20:56:17 +02:00
committed by Zlatko Čalušić
parent 6b821132ec
commit 07b6d5facf
6 changed files with 112 additions and 0 deletions

10
docker/create_user Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
if [ -z "$1" ]; then
echo "create_user [username]"
echo "or"
echo "create_user [username] [password]"
exit 1
fi
htpasswd -s $PASSWORD_FILE $1 $2