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

RUN tlmgr update --self fails in Dockerfile #35

Open
LyndonArmitage opened this issue Feb 14, 2024 · 0 comments
Open

RUN tlmgr update --self fails in Dockerfile #35

LyndonArmitage opened this issue Feb 14, 2024 · 0 comments

Comments

@LyndonArmitage
Copy link

I tried to run the docker build with the following code:

docker build --compress -t visual-scala-reference .

Which failed on step 3:

 => [2/8] RUN apk update && apk add --no-cache make hugo inotify-tools                                                                                                                                                                    10.9s
 => ERROR [3/8] RUN tlmgr update --self                                                                                                                                                                                                    4.5s
------
 > [3/8] RUN tlmgr update --self:
4.394
4.394 tlmgr: Local TeX Live (2020) is older than remote repository (2023).
4.394 Cross release updates are only supported with
4.394   update-tlmgr-latest(.sh/.exe) --update
4.394 See https://tug.org/texlive/upgrade.html for details.
------
Dockerfile:5
--------------------
   3 |     RUN apk update && apk add --no-cache make hugo inotify-tools
   4 |
   5 | >>> RUN tlmgr update --self
   6 |     RUN tlmgr install standalone
   7 |     RUN tlmgr install pgf
--------------------
ERROR: failed to solve: process "/bin/sh -c tlmgr update --self" did not complete successfully: exit code: 1

The logs link to https://tug.org/texlive/upgrade.html which suggests a way of upgrading, alternatively it suggests building with the newer TexLive installation.

This Dockerfile uses this repos Docker image as a base: https://github.com/superruzafa/docker-tinytex

Perhaps the source image needs updating? DockerHub lists a 0.5 tag that was updated a year ago compared to the 0.2 tag from 3 years ago but switching to it still results in the error:

 tlmgr: Local TeX Live (2022) is older than remote repository (2023).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant