feat(templates): add docker-texlive template with code-server#828
feat(templates): add docker-texlive template with code-server#828joergklein wants to merge 20 commits intocoder:mainfrom
Conversation
matifali
left a comment
There was a problem hiding this comment.
Thanks for your contribution @joergklein, but the new template should go to templates under a new namespace under your own name.
See this for example: https://github.com/coder/registry/tree/main/registry/umair/templates
|
@matifali Thanks for your quick reply. This is my first attempt at writing a template. Could you perhaps move the template to the correct folder? I’ve made a few other mistakes as well; for example, the description file is incomplete. |
- Move files from modules/docker-texlive/ to correct namespace path - Create namespace README for joergklein - Move Dockerfile into build/ subdirectory - Fix README frontmatter: remove verified flag, fix icon path - Fix main.tf: add entrypoint for coder agent, fix label syntax, add metadata blocks, remove invalid coder_app resource
|
@joergklein I did some bootstrapping to make things move to the correct spots. You can now test and finalize the changes. Thanks |
There was a problem hiding this comment.
Pull request overview
Adds a new community template under registry/joergklein/templates/docker-texlive to provision a Docker-based TeX Live workspace with code-server, and introduces the contributor namespace README for joergklein.
Changes:
- Add a new Docker + TeX Live + code-server template (Terraform + Docker build context).
- Add template documentation (template README).
- Add contributor profile README for the
joergkleinnamespace.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| registry/joergklein/templates/docker-texlive/README.md | Documents prerequisites, architecture, and customization for the TeX Live Docker template. |
| registry/joergklein/templates/docker-texlive/main.tf | Provisions the Coder agent, code-server module, Docker image build, persistent volume, and container runtime. |
| registry/joergklein/templates/docker-texlive/build/Dockerfile | Defines the TeX Live-derived image used by the workspace container. |
| registry/joergklein/README.md | Adds contributor profile frontmatter/body for the joergklein namespace. |
Co-authored-by: Atif Ali <atif@coder.com>
- Automatic updates for latest → controlled weekly rebuilds - Build reproducibility via hash + versioning - Safe automatic cleanup of old images
|
I've made a lot of changes to the "main.tf" file. I'm not sure if all of them are a good idea. |
This is your template, and if you think it's useful, and you have tested it. We are good to publish it. But please ensure that it works. |
joergklein
left a comment
There was a problem hiding this comment.
I have testet the template. Please check this out. Thank you for the help.
|
After restarting the container, the TeX project is deleted. Please take a look at main.tf and Dockerfile. I need a little help. |
Description
Type of Change
Template Information
Path:
registry/joergklein/templates/docker-texliveTesting & Validation
bun test)bun fmt)Related Issues