fix lua dependencies to lua 5.1

This commit is contained in:
Sebastian Hugentobler 2023-02-16 22:39:21 +01:00
parent 5724cc82eb
commit 8fa36e7ded
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -6,7 +6,7 @@ RUN apk --no-cache add \
make \ make \
openssl \ openssl \
openssl-dev \ openssl-dev \
lua-dev \ lua5.1-dev \
libsodium-dev \ libsodium-dev \
linux-pam-dev \ linux-pam-dev \
zlib-dev \ zlib-dev \
@ -31,30 +31,30 @@ RUN mkdir /tmp/pigeonhole
RUN tar xzf $PIGEONHOLE_FILENAME -C /tmp/pigeonhole --strip 1 RUN tar xzf $PIGEONHOLE_FILENAME -C /tmp/pigeonhole --strip 1
RUN cd /tmp/dovecot && \ RUN cd /tmp/dovecot && \
./configure --prefix '' \ ./configure --prefix '' \
--with-notify=inotify \ --with-notify=inotify \
--with-lua \ --with-lua \
--with-zlib \ --with-zlib \
--with-bzlib \ --with-bzlib \
--with-pam \ --with-pam \
--with-ssl=openssl \ --with-ssl=openssl \
--with-sodium \ --with-sodium \
--without-sql \ --without-sql \
--with-lzma \ --with-lzma \
--with-lz4 \ --with-lz4 \
--with-icu \ --with-icu \
--without-shadow \ --without-shadow \
--with-ssldir=/etc/ssl/mail \ --with-ssldir=/etc/ssl/mail \
--with-rundir=/run/dovecot \ --with-rundir=/run/dovecot \
--disable-static && \ --disable-static && \
make && \ make && \
make install make install
RUN cd /tmp/pigeonhole && \ RUN cd /tmp/pigeonhole && \
./configure --prefix '' \ ./configure --prefix '' \
--with-dovecot=/lib/dovecot \ --with-dovecot=/lib/dovecot \
--disable-static && \ --disable-static && \
make && make install make && make install
FROM docker.io/thallian/confd-env:3.17-3.1.3.0 FROM docker.io/thallian/confd-env:3.17-3.1.3.0
@ -77,8 +77,8 @@ RUN apk --no-cache add \
openssl \ openssl \
ssmtp \ ssmtp \
ca-certificates \ ca-certificates \
lua \ lua5.1-libs \
lua-rapidjson \ lua5.1-rapidjson
curl \ curl \
inotify-tools \ inotify-tools \
libssl3 libssl3