Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change docker image in README.md #434

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chamoda
Copy link

@chamoda chamoda commented Jun 26, 2022

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.

@github-actions github-actions bot added the size/XS Extra Small size issue or PR. label Jun 26, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 Welcome! Looks like this is your first pull request.

Hey, thanks for your contribution! Please give us a bit of time to review it. 😄

@OJFord
Copy link
Collaborator

OJFord commented Aug 5, 2022

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.

@double-free
Copy link

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

@OJFord
Copy link
Collaborator

OJFord commented Aug 21, 2022

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

@krapie
Copy link

krapie commented May 7, 2023

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.

@OJFord
Copy link
Collaborator

OJFord commented May 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Extra Small size issue or PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants