mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-22 11:16:55 +00:00
fix conflict with libretls and libressl
This commit is contained in:
parent
4649add0df
commit
9e6775a422
10
Dockerfile
10
Dockerfile
@ -3,6 +3,11 @@ FROM alpine:3.14.0 as build
|
|||||||
ENV SQUID_VER 4.15
|
ENV SQUID_VER 4.15
|
||||||
ENV SQUID_SIG_KEY B06884EDB779C89B044E64E3CD6DBF8EF3B17D3E
|
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 && \
|
RUN set -x && \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
gcc \
|
gcc \
|
||||||
@ -113,6 +118,11 @@ RUN set -x && \
|
|||||||
deluser squid 2>/dev/null; delgroup squid 2>/dev/null; \
|
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
|
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 \
|
RUN apk add --no-cache \
|
||||||
libstdc++ \
|
libstdc++ \
|
||||||
heimdal-libs \
|
heimdal-libs \
|
||||||
|
Loading…
Reference in New Issue
Block a user