apt cacher for debian
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

795 B

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