mirror of
https://github.com/b4tman/docker-squid.git
synced 2025-08-28 21:17:29 +00:00
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
bee8e01cb0 | |||
e36539188f
|
|||
ebe487186b
|
|||
6e0968cb97
|
|||
9aa1dbd893
|
|||
1a682a86c9
|
|||
cb78e8c285
|
|||
4251447c9d | |||
e4ce0fe599 | |||
|
a6b68820a9 |
33
.drone.yml
Normal file
33
.drone.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
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
|
8
.github/dependabot.yml
vendored
Normal file
8
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
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.12.0 as build
|
||||||
|
|
||||||
ENV SQUID_VER 4.12
|
ENV SQUID_VER 4.13
|
||||||
ENV SQUID_SIG_KEY B06884EDB779C89B044E64E3CD6DBF8EF3B17D3E
|
ENV SQUID_SIG_KEY B06884EDB779C89B044E64E3CD6DBF8EF3B17D3E
|
||||||
|
|
||||||
RUN set -x && \
|
RUN set -x && \
|
||||||
@@ -63,7 +63,7 @@ RUN set -x && \
|
|||||||
--enable-epoll \
|
--enable-epoll \
|
||||||
--enable-external-acl-helpers="file_userip,unix_group,wbinfo_group" \
|
--enable-external-acl-helpers="file_userip,unix_group,wbinfo_group" \
|
||||||
--enable-auth-ntlm="fake" \
|
--enable-auth-ntlm="fake" \
|
||||||
--enable-auth-negotiate="wrapper" \
|
--enable-auth-negotiate="kerberos,wrapper" \
|
||||||
--enable-silent-rules \
|
--enable-silent-rules \
|
||||||
--disable-mit \
|
--disable-mit \
|
||||||
--enable-heimdal \
|
--enable-heimdal \
|
||||||
@@ -95,7 +95,8 @@ RUN set -x && \
|
|||||||
|
|
||||||
RUN set -x && \
|
RUN set -x && \
|
||||||
cd /tmp/build && \
|
cd /tmp/build && \
|
||||||
make -j $(grep -cs ^processor /proc/cpuinfo) && \
|
nproc=$(n=$(nproc) ; max_n=6 ; [ $n -le $max_n ] && echo $n || echo $max_n) && \
|
||||||
|
make -j $nproc && \
|
||||||
make install
|
make install
|
||||||
|
|
||||||
RUN sed -i '1s;^;include /etc/squid/conf.d/*.conf\n;' /etc/squid/squid.conf
|
RUN sed -i '1s;^;include /etc/squid/conf.d/*.conf\n;' /etc/squid/squid.conf
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
[](https://microbadger.com/images/b4tman/squid "Get your own image badge on microbadger.com")
|
[](https://cloud.drone.io/b4tman/docker-squid)
|
||||||
[](https://dependabot.com)
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
Reference in New Issue
Block a user