1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2025-09-05 08:57:36 +00:00

2 Commits

Author SHA1 Message Date
cf4b3f4845 build for arm64 (#77) 2022-08-04 09:19:50 +03:00
2d2de740db bump squid to 4.16 2021-08-10 10:49:48 +03:00
2 changed files with 7 additions and 11 deletions

View File

@@ -1,17 +1,17 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: arm32 images name: arm64 images
platform: platform:
os: linux os: linux
arch: arm arch: arm64
steps: steps:
- name: squid image for dockerhub - name: squid image for dockerhub
image: plugins/docker image: plugins/docker
settings: settings:
repo: docker.io/b4tman/squid repo: docker.io/b4tman/squid
auto_tag: true auto_tag: true
auto_tag_suffix: armhf auto_tag_suffix: arm64
pull_image: true pull_image: true
registry: docker.io registry: docker.io
username: b4tman username: b4tman
@@ -19,10 +19,10 @@ steps:
from_secret: docker_password from_secret: docker_password
config: config:
from_secret: docker_config from_secret: docker_config
- name: squid-armhf image for github packages - name: squid-arm64 image for github packages
image: plugins/docker image: plugins/docker
settings: settings:
repo: ghcr.io/b4tman/squid-armhf repo: ghcr.io/b4tman/squid-arm64
auto_tag: true auto_tag: true
pull_image: true pull_image: true
registry: ghcr.io registry: ghcr.io

View File

@@ -1,6 +1,6 @@
FROM alpine:3.14.0 as build FROM alpine:3.14.0 as build
ENV SQUID_VER 5.1 ENV SQUID_VER 4.16
# fix conflict with libretls and libressl # fix conflict with libretls and libressl
RUN set -x && \ RUN set -x && \
@@ -94,11 +94,7 @@ RUN set -x && \
--with-default-user=squid \ --with-default-user=squid \
--with-openssl \ --with-openssl \
--with-pidfile=/var/run/squid/squid.pid --with-pidfile=/var/run/squid/squid.pid
# fix build
RUN set -x && \
mkdir -p /tmp/build/tools/squidclient/tests && \
mkdir -p /tmp/build/tools/tests
RUN set -x && \ RUN set -x && \
cd /tmp/build && \ cd /tmp/build && \