Use this GitHub template repository for your custom modules and Gotenberg's Docker image variants.
Want to share your work? Open a PR to the awesome list! 🚀
Update the following variables in the Makefile:
APP_NAME- the name of your Gotenberg's Docker image variant.APP_VERSIONAPP_AUTHORAPP_REPOSITORYDOCKER_REGISTRYDOCKER_REPOSITORY
You may now run:
make buildThis command builds your Gotenberg's Docker image ($(DOCKER_REGISTRY)/$(DOCKER_REPOSITORY):$(GOTENBERG_VERSION)-$(APP_NAME)-$(APP_VERSION)).
- Update the
go.modfile with your Go module's name. - Update the
build/Dockerfilewith your instructions. - Create your module(s) in
pkg/modules. - Import your module(s) in
cmd/app/main.go.
How can I check the underlying Gotenberg's version?
The Gotenberg's image has a version label which contains the underlying Gotenberg's version:
docker inspect $(DOCKER_REGISTRY)/$(DOCKER_REPOSITORY):$(GOTENBERG_VERSION)-$(APP_NAME)-$(APP_VERSION)
Where can I see the list of
Makefilecommands?
Run make help to display the available commands 💡