1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2025-09-23 17:09:15 +00:00

12 Commits

Author SHA1 Message Date
b077ec9b09 bump squid to 6.3 2023-09-18 15:05:22 +03:00
f35cfdf194 Merge pull request #108 from b4tman/feature/enable-snmp
enable snmp
2023-09-12 13:20:57 +03:00
2a86036919 enable snmp 2023-09-11 23:07:37 +03:00
dependabot[bot]
2d0d3bd90c Bump alpine from 3.18.2 to 3.18.3
Bumps alpine from 3.18.2 to 3.18.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 08:49:04 +03:00
1d71370e48 bump squid to 6.2 2023-08-19 12:28:42 +03:00
e108ff41f6 force remove PID file on startup
to fix #104
2023-07-07 09:09:42 +03:00
e7d7016018 fix ci branches
[skip ci]
2023-07-06 16:17:53 +03:00
a89c6b2878 bump squid to 6.1 2023-07-06 16:05:22 +03:00
9f260deb7f bump squid to 6.0.3 2023-07-06 16:05:22 +03:00
94cc9e2244 push v6 images 2023-07-06 16:05:22 +03:00
83cd331a0b bump squid to 6.0.2 2023-07-06 16:05:22 +03:00
dependabot[bot]
1e0e16e157 Bump alpine from 3.18.0 to 3.18.2
Bumps alpine from 3.18.0 to 3.18.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 11:36:07 +03:00
2 changed files with 7 additions and 6 deletions

View File

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

View File

@@ -1,6 +1,6 @@
FROM alpine:3.18.0 as build
FROM alpine:3.18.3 as build
ARG SQUID_VER=5.9
ARG SQUID_VER=6.3
RUN set -x && \
apk add --no-cache \
@@ -86,7 +86,7 @@ RUN set -x && \
--enable-storeio="diskd rock" \
--enable-ipv6 \
--enable-translation \
--disable-snmp \
--enable-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.0
FROM alpine:3.18.3
ENV SQUID_CONFIG_FILE /etc/squid/squid.conf
ENV TZ Europe/Moscow
@@ -148,4 +148,4 @@ EXPOSE 3128/tcp
USER squid
CMD ["sh", "-c", "/usr/sbin/squid -f ${SQUID_CONFIG_FILE} --foreground -z && exec /usr/sbin/squid -f ${SQUID_CONFIG_FILE} --foreground -YCd 1"]
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"]