commit e0120d62d82b107e5a13f517a79e4cbd066fb22e Author: Michael Date: Wed Jun 12 23:57:30 2024 +1200 add dovecot dockerfile and build script diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4653348 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM dovecot/dovecot:latest + +RUN userdel _apt +RUN useradd -u 100 -r -g 101 -d /var/spool/postfix -s /sbin/nologin -c "postfix" postfix diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..2406da9 --- /dev/null +++ b/build.sh @@ -0,0 +1,4 @@ +#!/bin/bash +docker build -t code.balsillie.net/containers/dovecot:latest -t quay.io/balsillie/dovecot:latest . +docker push code.balsillie.net/containers/dovecot:latest +docker push quay.io/balsillie/dovecot:latest