Skip to content

Latest commit

 

History

History
72 lines (42 loc) · 3.1 KB

README.md

File metadata and controls

72 lines (42 loc) · 3.1 KB

squid Docker Image

License docker-publish Dockerhub

Bedag

This is a docker project for squid.

Usage

Run the container like this:

docker run -v /usr/local/squid/etc:${PWD}/config bedag/squid:<tag>

Volumes

Make sure that all volumes are owned by nobody(65534).

Mountpoint Description
/usr/local/squid/etc configuration files for squid
/usr/local/squid/var/logs log files for squid
/usr/local/squid/var/run pid for squid

Build

Docker builds are created with bedag/image-build.

musl compiler is used to compile squiduardian.

gcr.io/distroless/cc-debian11 are used because we do not need any common linux binaries, here you can find more information about distroless images. For troubleshooting we recommend to use our -debug images. For more information go to Debug section.

Every Sunday(0 0 * * SUN) we automatically update all supported tags with the current upstream image.

Debug

In our production image there are no binaries for troubleshooting. Therefore if u like to troubleshoot you should use our debug image like this:

docker run -it bedag/squid:latest-debug
docker run -it bedag/squid:5-debug

In the debug image busybox is installed. You can find all busybox supported commands like this:

busybox --list

Tags

Supported tags are:

  • latest, 5, 5.0, 5.0.4, latest-debug, 5-debug, 5.0-debug, 5.0.4-debug

Security notice

Security scans are performed via trivy and reported in github. Scans are only performed to the latest tag, which should include all libs vulnerabilities from all possible tags.

Contributing

We'd love to have you contribute! Please refer to our contribution guidelines for details.

By making a contribution to this project, you agree to and comply with the Developer's Certificate of Origin.

License

Apache 2.0 License.