From 8fa36e7ded0051f81efb6cfd4927a1ae58d99100 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 16 Feb 2023 22:39:21 +0100 Subject: [PATCH] fix lua dependencies to lua 5.1 --- Dockerfile | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/Dockerfile b/Dockerfile index 86a644a..e51bff6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apk --no-cache add \ make \ openssl \ openssl-dev \ - lua-dev \ + lua5.1-dev \ libsodium-dev \ linux-pam-dev \ zlib-dev \ @@ -31,30 +31,30 @@ RUN mkdir /tmp/pigeonhole RUN tar xzf $PIGEONHOLE_FILENAME -C /tmp/pigeonhole --strip 1 RUN cd /tmp/dovecot && \ - ./configure --prefix '' \ - --with-notify=inotify \ - --with-lua \ - --with-zlib \ - --with-bzlib \ - --with-pam \ - --with-ssl=openssl \ - --with-sodium \ - --without-sql \ - --with-lzma \ - --with-lz4 \ - --with-icu \ - --without-shadow \ - --with-ssldir=/etc/ssl/mail \ - --with-rundir=/run/dovecot \ - --disable-static && \ - make && \ - make install + ./configure --prefix '' \ + --with-notify=inotify \ + --with-lua \ + --with-zlib \ + --with-bzlib \ + --with-pam \ + --with-ssl=openssl \ + --with-sodium \ + --without-sql \ + --with-lzma \ + --with-lz4 \ + --with-icu \ + --without-shadow \ + --with-ssldir=/etc/ssl/mail \ + --with-rundir=/run/dovecot \ + --disable-static && \ + make && \ + make install RUN cd /tmp/pigeonhole && \ - ./configure --prefix '' \ - --with-dovecot=/lib/dovecot \ - --disable-static && \ - make && make install + ./configure --prefix '' \ + --with-dovecot=/lib/dovecot \ + --disable-static && \ + make && make install FROM docker.io/thallian/confd-env:3.17-3.1.3.0 @@ -77,8 +77,8 @@ RUN apk --no-cache add \ openssl \ ssmtp \ ca-certificates \ - lua \ - lua-rapidjson \ + lua5.1-libs \ + lua5.1-rapidjson curl \ inotify-tools \ libssl3