1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2025-12-14 21:39:14 +00:00

4 Commits

Author SHA1 Message Date
2fe85c38de bump squid to 6.0.3 2023-06-13 14:12:11 +03:00
17fb8d59a2 Merge branch 'master' into v6 2023-06-13 14:10:38 +03:00
09aba63183 push v6 images 2023-05-02 17:11:44 +03:00
358cbfef87 bump squid to 6.0.2 2023-05-02 15:53:55 +03:00
2 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ on:
# Publish `master` as Docker `latest` image.
branches:
- master
- v5
- v6
# Publish `v1.2.3` tags as releases.
tags:

View File

@@ -1,6 +1,6 @@
FROM alpine:3.18.3 as build
FROM alpine:3.18.0 as build
ARG SQUID_VER=6.3
ARG SQUID_VER=6.0.3
RUN set -x && \
apk add --no-cache \
@@ -86,7 +86,7 @@ RUN set -x && \
--enable-storeio="diskd rock" \
--enable-ipv6 \
--enable-translation \
--enable-snmp \
--disable-snmp \
--disable-dependency-tracking \
--with-large-files \
--with-default-user=squid \
@@ -106,7 +106,7 @@ RUN sed -i '1s;^;include /etc/squid/conf.d/*.conf\n;' /etc/squid/squid.conf && \
# --- --- --- --- --- --- --- --- ---
FROM alpine:3.18.3
FROM alpine:3.18.0
ENV SQUID_CONFIG_FILE /etc/squid/squid.conf
ENV TZ Europe/Moscow
@@ -148,4 +148,4 @@ EXPOSE 3128/tcp
USER squid
CMD ["sh", "-c", "rm -f /var/run/squid/squid.pid ; /usr/sbin/squid -f ${SQUID_CONFIG_FILE} --foreground -z && exec /usr/sbin/squid -f ${SQUID_CONFIG_FILE} --foreground -YCd 1"]
CMD ["sh", "-c", "/usr/sbin/squid -f ${SQUID_CONFIG_FILE} --foreground -z && exec /usr/sbin/squid -f ${SQUID_CONFIG_FILE} --foreground -YCd 1"]