mox/Dockerfile.imaptest

8 lines
470 B
Text
Raw Permalink Normal View History

FROM alpine:latest
2023-01-30 16:27:06 +03:00
RUN apk --no-cache add build-base
2023-01-30 16:27:06 +03:00
WORKDIR /src
RUN wget http://dovecot.org/nightly/dovecot-latest.tar.gz && tar -zxvf dovecot-latest.tar.gz && cd dovecot-0.0.0-* && ./configure && make install && cd ..
RUN wget http://dovecot.org/nightly/imaptest/imaptest-latest.tar.gz && tar -zxvf imaptest-latest.tar.gz && cd dovecot-0.0-imaptest-0.0.0-* && ./configure --with-dovecot=$(ls -d ../dovecot-0.0.0-*) && make install
ENTRYPOINT /usr/local/bin/imaptest