chore: new texlive image for docker that works out of the box

This commit is contained in:
Supan Adit Pratama 2024-09-26 18:11:15 +07:00
parent e6efa6be7b
commit 8d5f44d010

View file

@ -34,14 +34,13 @@
**Awesome CV** is LaTeX template for a **CV(Curriculum Vitae)**, **Résumé** or **Cover Letter** inspired by [Fancy CV](https://www.sharelatex.com/templates/cv-or-resume/fancy-cv). It is easy to customize your own template, especially since it is really written by a clean, semantic markup. **Awesome CV** is LaTeX template for a **CV(Curriculum Vitae)**, **Résumé** or **Cover Letter** inspired by [Fancy CV](https://www.sharelatex.com/templates/cv-or-resume/fancy-cv). It is easy to customize your own template, especially since it is really written by a clean, semantic markup.
## Donate ## Donate
Please help keep this project alive! Donations are welcome and will go towards further development of this project. Please help keep this project alive! Donations are welcome and will go towards further development of this project.
PayPal: paypal.me/posquit0 PayPal: paypal.me/posquit0
*Thank you for your support!* _Thank you for your support!_
## Preview ## Preview
@ -50,7 +49,7 @@ Please help keep this project alive! Donations are welcome and will go towards f
You can see [PDF](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume.pdf) You can see [PDF](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume.pdf)
| Page. 1 | Page. 2 | | Page. 1 | Page. 2 |
|:---:|:---:| | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| [![Résumé](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume-0.png)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume.pdf) | [![Résumé](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume-1.png)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume.pdf) | | [![Résumé](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume-0.png)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume.pdf) | [![Résumé](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume-1.png)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume.pdf) |
#### Cover Letter #### Cover Letter
@ -58,18 +57,16 @@ You can see [PDF](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/e
You can see [PDF](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/coverletter.pdf) You can see [PDF](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/coverletter.pdf)
| Without Sections | With Sections | | Without Sections | With Sections |
|:---:|:---:| | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| [![Cover Letter(Traditional)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/coverletter-0.png)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/coverletter.pdf) | [![Cover Letter(Awesome)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/coverletter-1.png)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/coverletter.pdf) | | [![Cover Letter(Traditional)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/coverletter-0.png)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/coverletter.pdf) | [![Cover Letter(Awesome)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/coverletter-1.png)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/coverletter.pdf) |
## Quick Start ## Quick Start
* [**Edit Résumé on OverLeaf.com**](https://www.overleaf.com/latex/templates/awesome-cv/tvmzpvdjfqxp) - [**Edit Résumé on OverLeaf.com**](https://www.overleaf.com/latex/templates/awesome-cv/tvmzpvdjfqxp)
* [**Edit Cover Letter on OverLeaf.com**](https://www.overleaf.com/latex/templates/awesome-cv-cover-letter/pfzzjspkthbk) - [**Edit Cover Letter on OverLeaf.com**](https://www.overleaf.com/latex/templates/awesome-cv-cover-letter/pfzzjspkthbk)
**_Note:_ Above services do not guarantee up-to-date source code of Awesome CV** **_Note:_ Above services do not guarantee up-to-date source code of Awesome CV**
## How to Use ## How to Use
#### Requirements #### Requirements
@ -89,12 +86,30 @@ xelatex {your-cv}.tex
Or using docker: Or using docker:
##### Linux / Mac / WSL ( Windows Subsystem for Linux )
```bash ```bash
docker run --rm --user $(id -u):$(id -g) -i -w "/doc" -v "$PWD":/doc thomasweise/texlive make # Docker Hub
docker run --rm --user $(id -u):$(id -g) -i -w "/tex" -v "$PWD":/tex supanadit/docker-texlive:1.0.0-ubuntu-full.1 make
# Direct from git.supanadit.com
docker run --rm --user $(id -u):$(id -g) -i -w "/tex" -v "$PWD":/tex git.supanadit.com/supanadit/docker-texlive:1.0.0-ubuntu-full.1 make
``` ```
In either case, this should result in the creation of ``{your-cv}.pdf`` ##### Windows
```bash
# Powershell ( Docker Hub )
docker run --rm -i -w "/tex" -v ${PWD}:/tex supanadit/docker-texlive:1.0.0-ubuntu-full.1 make
# Powershell ( Direct from git.supanadit.com )
docker run --rm -i -w "/tex" -v ${PWD}:/tex git.supanadit.com/supanadit/docker-texlive:1.0.0-ubuntu-full.1 make
# Powershell ( Docker Hub )
docker run --rm -it -w "/tex" -v %cd%:/tex supanadit/docker-texlive:1.0.0-ubuntu-full.1 make
# CMD
docker run --rm -it -w "/tex" -v %cd%:/tex git.supanadit.com/supanadit/docker-texlive:1.0.0-ubuntu-full.1 make
```
In either case, this should result in the creation of `{your-cv}.pdf`
## Credit ## Credit
@ -106,7 +121,6 @@ In either case, this should result in the creation of ``{your-cv}.pdf``
[**Source Sans Pro**](https://github.com/adobe-fonts/source-sans-pro) is a set of OpenType fonts that have been designed to work well in user interface (UI) environments. [**Source Sans Pro**](https://github.com/adobe-fonts/source-sans-pro) is a set of OpenType fonts that have been designed to work well in user interface (UI) environments.
## Contact ## Contact
You are free to take my `.tex` file and modify it to create your own resume. Please don't use my resume for anything else without my permission, though! You are free to take my `.tex` file and modify it to create your own resume. Please don't use my resume for anything else without my permission, though!
@ -115,12 +129,11 @@ If you have any questions, feel free to join me at [`#posquit0` on Freenode](irc
Good luck! Good luck!
## Maintainers ## Maintainers
- [posquit0](https://github.com/posquit0) - [posquit0](https://github.com/posquit0)
- [OJFord](https://github.com/OJFord) - [OJFord](https://github.com/OJFord)
## See Also ## See Also
* [Awesome Identity](https://github.com/posquit0/hugo-awesome-identity) - A single-page Hugo theme to introduce yourself. - [Awesome Identity](https://github.com/posquit0/hugo-awesome-identity) - A single-page Hugo theme to introduce yourself.