An opinionated set-up to get no telemetry Caddy Docker image
507
GitHub repo: https://github.com/guangie88/caddy-custom
An opinionated set-up to get no telemetry Caddy Docker image with various sets of plugins.
As an example, you will need to fill the following variables:
REPO_REVPLUGINSSee the example run below for better idea:
# For PLUGINS, replace all dots with hyphens as shown below
REPO_REV=v1.0.0
PLUGINS=http-filter
docker build . \
--build-arg REPO_REV=${REPO_REV} \
--build-arg PLUGINS=${PLUGINS}
You will need tera, which you can get by either of the following methods:
Get cargo which you can get by install from https://rustup.rs/.
Once cargo is available, run:
cargo install tera-cli
This works for most major operating systems.
If you are a Linux user, simply download from: https://github.com/guangie88/tera-cli/releases
You will need python3 to apply the update-plugins.py script.
Additionally, you will need to install pip packages via:
python3 -m pip install beautifulsoup4 pyyaml requests
To generate a new plugins.yml, run:
./update-plugins-py > plugins.yml
This is generally more for updating plugins.yml, since there should always be
plugins.yml in the repo.
Content type
Image
Digest
Size
11.8 MB
Last updated
about 6 years ago
docker pull guangie88/caddy-custom:gzip-content-type_lite