1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2025-09-03 16:07:34 +00:00

39 Commits

Author SHA1 Message Date
9dab1b00cf Merge branch 'armhf-new' into armhf-cross
# Conflicts:
#	Dockerfile
2020-08-11 13:00:34 +03:00
20ef8cf8be Merge branch 'master' into armhf
# Conflicts:
#	Dockerfile
#	README.md
2020-08-11 11:22:35 +03:00
9d46731628 bump alpine to 3.8
(cherry picked from commit d5cbd68b4d)
2018-07-19 13:57:34 +03:00
323e4533e7 bump to 3.5.28
(cherry picked from commit 9e6ed88e57)
2018-07-19 13:56:26 +03:00
aabc247a2b bump alpine to 3.8
(cherry picked from commit d5cbd68b4d)
2018-07-19 13:56:03 +03:00
9f6c88ad96 bump to 3.5.28
(cherry picked from commit 9e6ed88e57)
2018-07-19 13:53:01 +03:00
a83166d95e fix second FROM 2018-02-28 21:52:54 +03:00
d040773634 fix build error "Address not available"
(cherry picked from commit a3b384fd87)
2018-02-28 13:18:03 +03:00
b5e86101ef fix build error "Address not available"
(cherry picked from commit a3b384fd87)
2018-02-28 13:17:32 +03:00
e3a188f419 MAINTAINER removed 2018-02-28 13:10:33 +03:00
f37e4a4dfd bump alpine to 3.7
(cherry picked from commit 6996f4b15d)
2018-02-28 13:09:53 +03:00
158d177c51 MAINTAINER removed
(cherry picked from commit 6f69039cbb)
2018-02-28 13:04:12 +03:00
2bd558e146 multi-stage build
(cherry picked from commit dcb8862e75)
2018-02-28 13:03:14 +03:00
63c7ba99e9 MAINTAINER removed
(cherry picked from commit 6f69039cbb)
2018-02-28 12:47:57 +03:00
7ac8996e39 bump alpine to 3.7
(cherry picked from commit 6996f4b15d)
2018-02-28 12:46:23 +03:00
d92da9a79d multi-stage build
(cherry picked from commit dcb8862e75)
2018-02-28 12:43:05 +03:00
11434c9296 parallel compile jobs
(cherry picked from commit 27509b05f6)
2018-02-28 12:39:35 +03:00
9e51552e39 MAINTAINER removed 2018-02-28 11:32:26 +03:00
2c911aad44 FROM arm32v6/alpine 2018-02-28 11:31:21 +03:00
27509b05f6 parallel compile jobs 2017-09-21 10:50:41 +03:00
6f138189ff update README
(cherry picked from commit 2c8641472e)
2017-09-20 13:54:17 +03:00
2c8641472e update README 2017-09-20 13:52:46 +03:00
be6513f835 FROM container4armhf/armhf-alpine 2017-09-20 13:49:43 +03:00
b5974723e8 bump squid to 3.5.27
(cherry picked from commit cbce834670)
2017-09-20 13:31:16 +03:00
f2f586f586 bump squid to 3.5.27
(cherry picked from commit cbce834670)
2017-09-20 13:30:24 +03:00
0ba2814cd6 Merge branch 'master' into armhf-cross 2017-07-04 09:59:24 +03:00
382a181d1a Merge branch 'master' into armhf 2017-07-04 09:57:04 +03:00
9315ec46b5 bump b4tman/armhf-alpine-qemu to 3.6 2017-07-03 14:07:35 +03:00
a68a4dc255 bump armhf/alpine to 3.6 2017-07-03 13:54:41 +03:00
8e5308aadf update to 3.5.26
Merge branch 'master' into armhf-cross
2017-06-06 19:40:43 +03:00
6f612170e6 update to 3.5.26
Merge branch 'master' into armhf
2017-06-06 19:38:29 +03:00
9d4c361f88 ignore apk errors (from post-install triggers) 2017-05-12 15:13:40 +03:00
80bc95d75b Merge branch 'armhf' into armhf-cross
# Conflicts:
#	Dockerfile
2017-05-12 11:23:07 +03:00
876c6f0678 Merge branch 'master' into armhf
# Conflicts:
#	Dockerfile
2017-05-12 10:58:37 +03:00
cab0b65ef3 cross build using qemu 2017-03-07 21:03:51 +03:00
f384c90781 Merge branch 'master' into armhf
# Conflicts:
#	docker-compose.yml
2017-02-13 14:28:26 +03:00
266a711b36 docker-entrypoint permissions fix [armhf] 2017-02-08 10:55:02 +03:00
7f55a91c1d docker-compose armhf build tag 2017-02-08 10:19:48 +03:00
247d11d625 armhf version 2017-02-08 10:16:23 +03:00
7 changed files with 119 additions and 121 deletions

View File

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

View File

@@ -1,8 +1,10 @@
FROM alpine:3.12.0 as build
FROM b4tman/armhf-alpine-qemu:latest as build
ENV SQUID_VER 4.12
ENV SQUID_SIG_KEY B06884EDB779C89B044E64E3CD6DBF8EF3B17D3E
RUN [ "cross-build-start" ]
RUN set -x && \
apk add --no-cache \
gcc \
@@ -101,11 +103,15 @@ RUN set -x && \
RUN sed -i '1s;^;include /etc/squid/conf.d/*.conf\n;' /etc/squid/squid.conf
RUN echo 'include /etc/squid/conf.d.tail/*.conf' >> /etc/squid/squid.conf
FROM alpine:3.12.0
RUN [ "cross-build-end" ]
FROM b4tman/armhf-alpine-qemu:latest
ENV SQUID_CONFIG_FILE /etc/squid/squid.conf
ENV TZ Europe/Moscow
RUN [ "cross-build-start" ]
RUN set -x && \
deluser squid 2>/dev/null; delgroup squid 2>/dev/null; \
addgroup -S squid -g 3128 && adduser -S -u 3128 -G squid -g squid -H -D -s /bin/false -h /var/cache/squid squid
@@ -140,6 +146,8 @@ RUN set -x && \
/sbin/setup-timezone -z $TZ && \
apk del .tz
RUN [ "cross-build-end" ]
VOLUME ["/var/cache/squid"]
EXPOSE 3128/tcp

View File

@@ -1,4 +1,4 @@
[![](https://images.microbadger.com/badges/image/b4tman/squid.svg)](https://microbadger.com/images/b4tman/squid "Get your own image badge on microbadger.com")
[![](https://images.microbadger.com/badges/image/b4tman/squid:armhf-cross.svg)](https://microbadger.com/images/b4tman/squid:armhf "Get your own image badge on microbadger.com")
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=b4tman/docker-squid)](https://dependabot.com)
![Docker Build Status](https://img.shields.io/docker/build/b4tman/squid)
![Docker Image CI Status](https://github.com/b4tman/docker-squid/workflows/Docker%20Image%20CI/badge.svg)

View File

@@ -1,11 +0,0 @@
version: '2'
services:
proxy:
build: .
sut:
image: alpine:3.10.1
links:
- proxy
depends_on:
- proxy
command: sh -exc "apk add --update curl && sleep 5 && exec curl --proxy http://proxy:3128 -I http://google.com/"

View File

@@ -1,7 +1,7 @@
version: '2'
services:
squid:
image: 'b4tman/squid'
image: 'b4tman/squid:armhf-cross'
container_name: 'my-squid'
restart: always
ports:

View File

@@ -1,4 +1,4 @@
FROM b4tman/squid
FROM b4tman/squid:armhf-cross
USER root
CMD ["sh", "-c", "(test -d /var/cache/squid/ssl_db || /usr/lib/squid/security_file_certgen -c -s /var/cache/squid/ssl_db -M 4MB) && /usr/sbin/squid -f ${SQUID_CONFIG_FILE} --foreground -z && exec /usr/sbin/squid -f ${SQUID_CONFIG_FILE} --foreground -YCd 1"]