mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-01 18:47:52 +00:00
Use alpine 3.13 to fix CVE-2020-25275 and CVE-2020-24386
(cherry picked from commit 2b37be9889)
# Conflicts:
# core/dovecot/Dockerfile
This commit is contained in:
@@ -1,4 +1,18 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
# syntax=docker/dockerfile-upstream:1.4.3
|
# syntax=docker/dockerfile-upstream:1.4.3
|
||||||
|
=======
|
||||||
|
ARG DISTRO=alpine:3.13
|
||||||
|
FROM $DISTRO as builder
|
||||||
|
WORKDIR /tmp
|
||||||
|
RUN apk add git build-base automake autoconf libtool dovecot-dev xapian-core-dev icu-dev
|
||||||
|
RUN git clone https://github.com/grosjo/fts-xapian.git \
|
||||||
|
&& cd fts-xapian \
|
||||||
|
&& git checkout 1.2.7 \
|
||||||
|
&& autoreconf -vi \
|
||||||
|
&& PANDOC=false ./configure --with-dovecot=/usr/lib/dovecot \
|
||||||
|
&& make \
|
||||||
|
&& make install
|
||||||
|
>>>>>>> 2b37be98 (Use alpine 3.13 to fix CVE-2020-25275 and CVE-2020-24386)
|
||||||
|
|
||||||
# dovecot image
|
# dovecot image
|
||||||
FROM base
|
FROM base
|
||||||
|
|||||||
2
towncrier/newsfragments/1720.bugfix
Normal file
2
towncrier/newsfragments/1720.bugfix
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Fix CVE-2020-25275 and CVE-2020-24386 by using alpine 3.13 for
|
||||||
|
dovecot which contains a fixed dovecot version.
|
||||||
Reference in New Issue
Block a user