mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
7 lines
476 B
Text
7 lines
476 B
Text
FROM alpine:3.17
|
|
|
|
RUN apk update && apk add wget build-base
|
|
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
|