Skip to content

Commit d50d849

Browse files
authored
Update Dockerfile
1 parent a4305b4 commit d50d849

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,11 @@ RUN apt-get update -qq \
5151
&& cd /tmp/php-uv \
5252
&& phpize \
5353
&& ./configure \
54-
&& wget https://ftp.uni-stuttgart.de/pub/unix/mail/imap/c-client.tar.gz \
55-
&& tar xzf c-client.tar.gz \
56-
&& cd imap-2007f \
57-
&& make lnp SSLTYPE=unix.nopwd EXTRACFLAGS=-fPIC \
58-
&& mkdir -p /usr/local/include/imap \
59-
&& cp c-client/*.h /usr/local/include/imap \
60-
&& cp c-client/c-client.a /usr/local/lib/libc-client.a \
6154
&& make -j$(nproc) \
6255
&& make install \
56+
&& git clone --depth 1 --branch imap-2007f https://github.com/uw-imap/imap.git \
57+
&& cd imap \
58+
&& make
6359
&& apt-get dist-upgrade -y \
6460
&& apt-get clean \
6561
&& apt-get autoremove -y \

0 commit comments

Comments
 (0)