1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2025-11-08 04:58:32 +00:00

1 Commits

Author SHA1 Message Date
ab6974f7b7 bump squid to 5.0.1 2020-02-02 19:26:12 +03:00
4 changed files with 9 additions and 50 deletions

@@ -1,33 +0,0 @@
---
kind: pipeline
type: docker
name: arm32 images
platform:
os: linux
arch: arm
steps:
- name: squid image for dockerhub
image: plugins/docker
settings:
repo: docker.io/b4tman/squid
auto_tag: true
auto_tag_suffix: armhf
pull_image: true
registry: docker.io
username: b4tman
password:
from_secret: docker_password
- name: squid-armhf image for github packages
image: plugins/docker
settings:
repo: docker.pkg.github.com/b4tman/docker-squid/squid-armhf
auto_tag: true
pull_image: true
registry: docker.pkg.github.com
username: b4tman
password:
from_secret: github_password
trigger:
ref:
- refs/tags/**
- refs/heads/master

@@ -1,8 +0,0 @@
version: 2
updates:
- package-ecosystem: docker
directory: "/"
schedule:
interval: monthly
time: '02:00'
open-pull-requests-limit: 10

@@ -1,6 +1,6 @@
FROM alpine:3.12.0 as build
FROM alpine:3.11.3 as build
ENV SQUID_VER 4.13
ENV SQUID_VER 5.0.1
ENV SQUID_SIG_KEY B06884EDB779C89B044E64E3CD6DBF8EF3B17D3E
RUN set -x && \
@@ -63,7 +63,7 @@ RUN set -x && \
--enable-epoll \
--enable-external-acl-helpers="file_userip,unix_group,wbinfo_group" \
--enable-auth-ntlm="fake" \
--enable-auth-negotiate="kerberos,wrapper" \
--enable-auth-negotiate="wrapper" \
--enable-silent-rules \
--disable-mit \
--enable-heimdal \
@@ -95,14 +95,13 @@ RUN set -x && \
RUN set -x && \
cd /tmp/build && \
nproc=$(n=$(nproc) ; max_n=6 ; [ $n -le $max_n ] && echo $n || echo $max_n) && \
make -j $nproc && \
make -j $(grep -cs ^processor /proc/cpuinfo) && \
make install
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
FROM alpine:3.11.3
ENV SQUID_CONFIG_FILE /etc/squid/squid.conf
ENV TZ Europe/Moscow
@@ -115,8 +114,8 @@ RUN apk add --no-cache \
libstdc++ \
heimdal-libs \
libcap \
libressl3.1-libcrypto \
libressl3.1-libssl \
libressl3.0-libcrypto \
libressl3.0-libssl \
libltdl
COPY --from=build /etc/squid/ /etc/squid/

@@ -1,4 +1,5 @@
[![Drone Build Status](https://cloud.drone.io/api/badges/b4tman/docker-squid/status.svg?ref=refs/heads/master)](https://cloud.drone.io/b4tman/docker-squid)
[![](https://images.microbadger.com/badges/image/b4tman/squid.svg)](https://microbadger.com/images/b4tman/squid "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)