fix: initialise cache with dummy file
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e7e0811830
commit
0c083739e5
|
@ -16,7 +16,7 @@ ADD . /apps/
|
||||||
RUN chown -R nobody:nogroup /apps/
|
RUN chown -R nobody:nogroup /apps/
|
||||||
RUN mkdir -p /apps/squid/var/lib/
|
RUN mkdir -p /apps/squid/var/lib/
|
||||||
RUN /apps/squid/libexec/ssl_crtd -c -s /apps/squid/var/lib/ssl_db -M 4MB
|
RUN /apps/squid/libexec/ssl_crtd -c -s /apps/squid/var/lib/ssl_db -M 4MB
|
||||||
RUN /apps/squid/sbin/squid -z -f /apps/squid.intercept.conf
|
RUN /apps/squid/sbin/squid -N -f /apps/squid.cache.conf -f
|
||||||
RUN chown -R nobody:nogroup /apps/
|
RUN chown -R nobody:nogroup /apps/
|
||||||
|
|
||||||
EXPOSE 3128
|
EXPOSE 3128
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
cache_dir aufs /apps/squid/var/cache/squid 10000 16 256
|
||||||
|
|
||||||
|
coredump_dir /apps/squid/var/cache
|
Loading…
Reference in New Issue