GitHub template repository for building custom modules and Gotenberg Docker image variants.
Built something cool? Open a PR to the awesome list! 🚀
Set these variables in the Makefile:
APP_NAME: your Gotenberg Docker image variant name.APP_VERSIONAPP_AUTHORAPP_REPOSITORYDOCKER_REGISTRYDOCKER_REPOSITORY
Then build:
make buildProduces a Docker image tagged $(DOCKER_REGISTRY)/$(DOCKER_REPOSITORY):$(GOTENBERG_VERSION)-$(APP_NAME)-$(APP_VERSION).
- Rename the Go module in
go.mod. - Add your instructions to
build/Dockerfile. - Create your module(s) in
pkg/modules. - Import your module(s) in
cmd/app/main.go.
How do I check the underlying Gotenberg version?
Inspect the version label on the image:
docker inspect $(DOCKER_REGISTRY)/$(DOCKER_REPOSITORY):$(GOTENBERG_VERSION)-$(APP_NAME)-$(APP_VERSION)
What commands are available?
Run make help to list them 💡