1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-12-22 09:03:13 +00:00

fix conflict with libretls and libressl

This commit is contained in:
Dmitry Belyaev 2021-07-01 13:11:00 +03:00
parent 4649add0df
commit 9e6775a422
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3

View File

@ -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 \