A minimal container, running Squid on Alpine with SSLBump, designed for caching NPM/Yarn registries.
734
(Updated 2024-06-13)
A minimal docker container, running Squid on Alpine with SSLBump, designed for caching NPM/Yarn registries.
Custom URLs and Cache strategies can be updated by modifying the runtime file squid.conf.
docker compose build --no-cache
docker compose up
npm config set http-proxy http://localhost:3128
npm config set https-proxy http://localhost:4128
npm config set cafile "$(pwd)/example/certs/CA.pem"
yarn config set proxy http://localhost:3128 -g
yarn config set https-proxy http://localhost:4128 -g
yarn config set cafile "$(pwd)/example/certs/CA.pem" -g
Content type
Image
Digest
sha256:5f9538fd1…
Size
11.4 MB
Last updated
over 2 years ago
docker pull mountainpass/squid-npm