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

7 Commits

Author SHA1 Message Date
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 6 additions and 5 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.2 as build
ARG SQUID_VER=5.9
ARG SQUID_VER=6.1
RUN set -x && \
apk add --no-cache \
@@ -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.2
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"]