try to run without root user

This commit is contained in:
fredbcode committed 2021-12-20 19:12:06 +01:00
1 parent ce8cb9480b
commit ca3ab201d2
2 files changed
+8 -8

No files matched your search

+5 -5
View File
@@ -8,7 +8,6 @@ RUN echo "deb-src http://deb.debian.org/debian bullseye main contrib" >> /etc/ap
&& ./configure \
--prefix=/usr \
--datadir=/usr/share/squid \
--build=x86_64-linux-gnu \
--enable-cache-digests \
--includedir=/usr/include \
--program-prefix= \
@@ -22,14 +21,13 @@ RUN echo "deb-src http://deb.debian.org/debian bullseye main contrib" >> /etc/ap
--enable-icap-support \
--enable-async-io \
--with-pthreads \
--with-winbind \
--with-winbind \
--bindir=/usr/sbin \
--sbindir=/usr/sbin \
--with-squid=/usr/lib/squid \
--disable-ipv6 \
--enable-ltdl-convenience \
--enable-http-violations \
build_alias="x86_64-linux-gnu" \
CFLAGS="-g -O2 -g -Wall -O2" \
LDFLAGS= \
CPPFLAGS= \
@@ -46,13 +44,15 @@ RUN echo "deb-src http://deb.debian.org/debian bullseye main contrib" >> /etc/ap
--enable-auth-digest="LDAP" \
--enable-auth-ntlm \
--enable-auth-negotiate \
--enable-negotiate-auth-helpers \
--with-krb5-config=yes \
--enable-negotiate-auth-helpers \
--with-krb5-config=yes \
--enable-icap-client \
--sysconfdir=/etc/squid \
--with-filedescriptors=48000 \
--enable-delay-pools \
--with-large-files \
--with-pidfile=/tmp \
--with-default-user=squid \
--enable-removal-policies="lru,heap" \
&& make \
&& find /tmp/ -type f -name "Makefil*" -delete \