Skip to content

Commit bd6c42c

Browse files
committed
Add Dockerfile for building docker images
1 parent c1834c0 commit bd6c42c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM debian:13-slim AS base
2+
RUN apt update && apt install -y curl
3+
RUN curl -o /usr/local/bin/imaptest https://github.com/dovecot/imaptest/releases/download/latest/imaptest-$(uname -m)-debian-13
4+
RUN chmod +x /usr/local/bin/imaptest
5+
FROM debian:13-slim AS final
6+
COPY --link --from=base /usr/local/bin/imaptest /usr/local/bin/imaptest
7+
USER mail
8+
ENTRYPOINT ["/usr/local/bin/imaptest"]

0 commit comments

Comments
 (0)