add dovecot dockerfile and build script

This commit is contained in:
Michael 2024-06-12 23:57:30 +12:00
commit e0120d62d8
2 changed files with 8 additions and 0 deletions

4
Dockerfile Normal file
View File

@ -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

4
build.sh Executable file
View File

@ -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