|
2 år sedan | |
---|---|---|
.drone | 2 år sedan | |
docker-dind | 2 år sedan | |
git-hooks | 2 år sedan | |
.gitignore | 2 år sedan | |
.versionrc | 2 år sedan | |
CHANGELOG.md | 2 år sedan | |
LICENSE | 2 år sedan | |
README.md | 2 år sedan | |
docker-compose.yml | 2 år sedan | |
openssl.cnf | 2 år sedan | |
package.json | 2 år sedan | |
squid.conf | 2 år sedan | |
yarn.lock | 2 år sedan |
apt cacher for debian
inspired by https://github.com/salrashid123/squid_proxy
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
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