squid/README.md

34 lines
795 B
Markdown
Raw Permalink Normal View History

2020-07-30 13:30:40 +00:00
# squid
2020-08-04 19:48:14 +00:00
apt cacher for debian
inspired by https://github.com/salrashid123/squid_proxy
## making a CA
```shell
openssl genrsa -out CA_key.pem 2048
2020-08-07 12:52:04 +00:00
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"
2020-08-04 19:48:14 +00:00
```
2020-08-05 13:02:27 +00:00
2020-08-28 21:10:05 +00:00
then set drone secrets ca-crt and ca-key to the created files
2020-08-07 12:52:04 +00:00
2020-08-13 10:48:56 +00:00
## making dockerconfigjson
2020-08-28 21:10:05 +00:00
the drone secret dockerconfigjson allows images to be pulled from the local docker repository
2020-08-13 10:48:56 +00:00
if you login to this repository with:
```shell
docker login $LOCAL_DOCKER_REGISTRY --username client --password $REGISTRY_PASSWORD
```
then you will find the required content with:
```shell
cat ~/.docker/config.json
```
2020-08-05 13:02:27 +00:00
## releasing
[see here](https://sigyl.com/releases/)