apt cacher for debian
Go to file
Giles Bradshaw e8b61d5992
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
ci: copy drone to docker secrets
2020-09-01 15:58:06 +01:00
.drone ci: copy drone to docker secrets 2020-09-01 15:58:06 +01:00
docker-dind ci: copy drone to docker secrets 2020-09-01 15:58:06 +01:00
git-hooks ci: better hook 2020-08-12 13:26:14 +01:00
.gitignore ci: jsonnet-drone@0.1.0 2020-08-28 22:10:05 +01:00
.versionrc ci: compare message format 2020-08-05 14:17:52 +01:00
CHANGELOG.md chore(release): 0.0.8 2020-08-28 22:10:30 +01:00
LICENSE Initial commit 2020-07-30 13:30:40 +00:00
README.md ci: jsonnet-drone@0.1.0 2020-08-28 22:10:05 +01:00
docker-compose.yml ci: jsonnet-drone@0.1.0 2020-08-28 22:10:05 +01:00
openssl.cnf . 2020-08-07 13:52:04 +01:00
package.json chore(release): 0.0.8 2020-08-28 22:10:30 +01:00
squid.conf Merge branch 'home-deploy' of https://sigyl.com/git/stack/squid into home-deploy 2020-08-03 21:25:05 +01:00
yarn.lock ci: yarn.lock 2020-08-12 11:54:27 +01:00

README.md

squid

apt cacher for debian

inspired by https://github.com/salrashid123/squid_proxy

making a CA

openssl genrsa -out CA_key.pem 2048
openssl req -x509 -days 600 -new -nodes -key CA_key.pem -out CA_crt.pem -extensions v3_ca -config openssl.cnf    -subj "/C=UK/ST=Devon/L=Rose Ash/O=Google/OU=SiGyl/CN=Proxy-ca"

then set drone secrets ca-crt and ca-key to the created files

making dockerconfigjson

the drone secret dockerconfigjson allows images to be pulled from the local docker repository

if you login to this repository with:

docker login $LOCAL_DOCKER_REGISTRY --username client --password $REGISTRY_PASSWORD

then you will find the required content with:

cat ~/.docker/config.json

releasing

see here