Awesome-CV icon indicating copy to clipboard operation
Awesome-CV copied to clipboard

Change docker image in README.md

Open chamoda opened this issue 2 years ago • 5 comments

Latest thomasweise/texlive returns following errors

Welcome to the TeX Live docker container thomasweise/texlive.
GitHub   : http://www.github.com/thomasWeise/docker-texlive
DockerHub: http://hub.docker.com/r/thomasweise/texlive
The command 'make' with arguments '' was specified. Now executing this command.
xelatex -output-directory=examples examples/coverletter.tex
This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/Debian) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./examples/coverletter.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-06-18> (examples/awesome-cv.cls
Document Class: awesome-cv 2017/02/05 v1.6.1 Awesome Curriculum Vitae Class
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo))
(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty)
(/usr/share/texlive/texmf-dist/tex/latex/enumitem/enumitem.sty)
(/usr/share/texlive/texmf-dist/tex/latex/ragged2e/ragged2e.sty
(/usr/share/texlive/texmf-dist/tex/latex/ms/everysel.sty))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def))
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifxetex.sty)
(/usr/share/texlive/texmf-dist/tex/latex/xifthen/xifthen.sty
(/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/share/texlive/texmf-dist/tex/latex/ifmtarg/ifmtarg.sty))
(/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/share/texlive/texmf-dist/tex/latex/setspace/setspace.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def))
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex))
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math.sty
(/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/fix-cm.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-table.tex)))
(/usr/share/texlive/texmf-dist/tex/latex/fontawesome5/fontawesome5.sty
(/usr/share/texlive/texmf-dist/tex/latex/fontawesome5/fontawesome5-utex-helper.
sty (/usr/share/texlive/texmf-dist/tex/latex/fontawesome5/tufontawesomefree.fd)
(/usr/share/texlive/texmf-dist/tex/latex/fontawesome5/tufontawesomebrands.fd)))

! LaTeX Error: File `roboto.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 

texlive/texlive works fine.

chamoda avatar Jun 26 '22 17:06 chamoda

I've looked into this previously and found - correct me if I'm wrong - that the texlive organisation isn't in any way official, just someone claimed the name.

I don't think there's any reason to think it's associated with @texlive on GitHub for example, and afaict there's no public repo containing the source Dockerfile.

With that in mind I'm a bit more inclined to switch it to https://github.com/OJFord/docker-texlive (ojford/texlive on both docker.io & ghcr.io registries) - which I maintain (obviously) so know it's kept up to date (automatic updates on cron schedule) etc. And from your/anyone else's perspective it's no less official or anything than texlive/texlive, despite the appearance of the latter.

OJFord avatar Aug 05 '22 22:08 OJFord

Hi, @OJFord , is there a chance to support arm64 platform (for Apple devices) as well? I'm getting this error:

Unable to find image 'ojford/texlive:latest' locally
latest: Pulling from ojford/texlive
2408cc74d12b: Pull complete 
d1f792d9e70f: Pull complete 
Digest: sha256:ad352bf576dc8e1a79563c0c680e351695f9700238ac1e31cb29f17a84b9d596
Status: Downloaded newer image for ojford/texlive:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "make": executable file not found in $PATH: unknown.

I didn't look deep into it but usually this is caused by platform-dependent Dockerfile

double-free avatar Aug 21 '22 11:08 double-free

@double-free Ah, good point. Certainly should if it's to be the suggested image. I'll look into it soon, thanks.

OJFord avatar Aug 21 '22 11:08 OJFord

I also faced ! LaTeX Error: File 'roboto.sty' not found. error when using thomasweise/texlive:latest image on docker. And changing image to texlive/texlive:latest worked for me.

I think this issue should be mentioned somewhere in README.md to prevent further usage of thomasweise/texlive image.

krapie avatar May 07 '23 08:05 krapie

I don't recall (afk) if I sorted arm64 support as above or not. I'll try to get to that and switch the recommendation accordingly soon.

OJFord avatar May 08 '23 23:05 OJFord