From 9e6775a42281947cc54b07324c9a426becaec841 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 1 Jul 2021 13:11:00 +0300 Subject: [PATCH] fix conflict with libretls and libressl --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Dockerfile b/Dockerfile index ebd681b..3b7e5dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,11 @@ FROM alpine:3.14.0 as build ENV SQUID_VER 4.15 ENV SQUID_SIG_KEY B06884EDB779C89B044E64E3CD6DBF8EF3B17D3E +# fix conflict with libretls and libressl +RUN set -x && \ + apk add --no-cache libretls && \ + apk upgrade --no-cache libretls + RUN set -x && \ apk add --no-cache \ gcc \ @@ -113,6 +118,11 @@ RUN set -x && \ deluser squid 2>/dev/null; delgroup squid 2>/dev/null; \ addgroup -S squid -g 3128 && adduser -S -u 3128 -G squid -g squid -H -D -s /bin/false -h /var/cache/squid squid +# fix conflict with libretls and libressl +RUN set -x && \ + apk add --no-cache libretls && \ + apk upgrade --no-cache libretls + RUN apk add --no-cache \ libstdc++ \ heimdal-libs \