Added build script.

This commit is contained in:
Markus Birth 2022-11-15 17:56:15 +01:00
parent aeb08bd4db
commit 30d3a27c26
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A
2 changed files with 10 additions and 0 deletions

View File

@ -2,3 +2,6 @@ docker-dovecot
==============
Based on [dovecot/docker](https://github.com/dovecot/docker).
Just with Alpine Linux so it comes out as a 32MB image.

7
build.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
WHEREAMI=$(dirname $0)
TODAY=$(date +'%Y-%m-%d')
echo "Today: $TODAY"
echo "Location: $WHEREAMI"
docker build -t "dovecot:$TODAY" -t "dovecot:latest" "$WHEREAMI/"