Reduce size
This commit is contained in:
1 parent
944546fceb
commit
98d48c178c
2 files changed
+2
-4
No files matched your search
+1
-3
@@ -1,8 +1,6 @@
|
||||
FROM debian:bullseye-slim as buildamd
|
||||
|
||||
ARG SQUID_VERSION
|
||||
ENV ENV_SQUID_VERSION=$SQUID_VERSION
|
||||
|
||||
WORKDIR /tmp
|
||||
RUN echo "deb-src http://deb.debian.org/debian bullseye main contrib" >> /etc/apt/sources.list && apt-get update && apt-get --no-upgrade --no-install-recommends -y build-dep squid && apt-get --no-install-recommends -y install wget tar xz-utils libssl-dev libssl1.1 winbind \
|
||||
&& wget --progress=dot:giga http://www.squid-cache.org/Versions/v5/$SQUID_VERSION \
|
||||
@@ -57,7 +55,7 @@ RUN echo "deb-src http://deb.debian.org/debian bullseye main contrib" >> /etc/ap
|
||||
--enable-delay-pools \
|
||||
--with-large-files \
|
||||
--enable-removal-policies="lru,heap" \
|
||||
&& make \
|
||||
&& make
|
||||
|
||||
# Instal
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
Reference in new issue
Block a user