Skip to content

gotenberg/gotenberg-template-repository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

138 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub template repository for building custom modules and Gotenberg Docker image variants.

Built something cool? Open a PR to the awesome list! 🚀

Quick Start

Set these variables in the Makefile:

  • APP_NAME: your Gotenberg Docker image variant name.
  • APP_VERSION
  • APP_AUTHOR
  • APP_REPOSITORY
  • DOCKER_REGISTRY
  • DOCKER_REPOSITORY

Then build:

make build

Produces a Docker image tagged $(DOCKER_REGISTRY)/$(DOCKER_REPOSITORY):$(GOTENBERG_VERSION)-$(APP_NAME)-$(APP_VERSION).

Next Steps

  1. Rename the Go module in go.mod.
  2. Add your instructions to build/Dockerfile.
  3. Create your module(s) in pkg/modules.
  4. Import your module(s) in cmd/app/main.go.

FAQ

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 💡

About

👷 GitHub template repository for custom modules and Gotenberg's Docker image variants.

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
GOTENBERG_LICENSE

Stars

Watchers

Forks

Contributors