Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    Well, at least you are the first duck that would talk to me. 😉
    1 reply
    Me, I am more of a GitHub guy, so any experiments with GitLab's CI may take me a while, but I have some experience with multiarch Docker builds.
    1 reply
    Paulo Cereda
    @cereda:matrix.org
    [m]
    VĂ­t, maybe it's good to mention that we IoT are part of GitLab's Open Source Program, so we have more stuff available than the things from the free tier. :)
    Paulo Cereda
    @cereda:matrix.org
    [m]
    Ah it's worth mentioned that DH and IoT images were independent in the beginning. :)
    2 replies
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    Ah, didn't know that.
    What happened to the original DH image maintainers?
    Paulo Cereda
    @cereda:matrix.org
    [m]
    IIRC Henri created the TeX Live DH account, and at almost the same time Ben came up the images to build our documentation. At some point, Henri saw potential in our images, and then we got the maintenance. :) I might ping hmenke to help me. :) Ben Frank is probably unavailable this weekend, I guess. :)
    1 reply
    I am a complete newbie with Docker images. To be honest, I think I tested a TeX Live image once for some reason. I don't even had a decent broadband. :)
    I should stop talking with acronyms. :)
    witiko
    @witiko:matrix.org
    [m]
    Thanks, Paulo, that's helpful information.
    Paulo Cereda
    @cereda:matrix.org
    [m]
    It's the first time one has approached us with a request for a new arch, so it's good for us as part of the learning process. :)
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    Alright. I do have a free GitLab account. https://gitlab.com/witiko
    Just haven't used it much before. I mostly use various on-prem GitLabs. 🙂
    Paulo Cereda
    @cereda:matrix.org
    [m]
    Yay! :)
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    Quack
    Paulo Cereda
    @cereda:matrix.org
    [m]
    quack 🦆 :)
    I only know two sentences in Czech: ahoj and pivo prosim. :)
    (Tom taught me :)
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    Some would say those are the most important
    Paulo Cereda
    @cereda:matrix.org
    [m]
    Tom told me the exact same thing. :) Hopefully I will be able to practice next year!
    VĂ­t, again thank you so much for reaching out to us and raising awareness for more archs in the TeX Live image pool! Hopefully we will be able to generate those images! :)
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    Not a problem. It may not make sense to pursue this now if your pipelines are already full and your target audience are CI services, but I will dump what I know into the issue and we'll see. Worst-case scenario: we will have a pretty good tutorial for whoever wants to build their own texlive images on strange architectures.
    Paulo Cereda
    @cereda:matrix.org
    [m]
    Let's see how it goes. :) I always have a cheerful attitude. :)
    3 replies
    Paulo Cereda
    @cereda:matrix.org
    [m]
    hmenke: you are the best ❤️
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    hmenke: Hello, I remember citing your TUGboat paper about using LPEG to build parsers in Lua(TeX). Great work. 🙂 It seems I will be citing you again when I get to write a follow-up article about adding Docker support to the Markdown LaTeX package.
    Paulo Cereda
    @cereda:matrix.org
    [m]
    Thanks!
    hmenke
    @hmenke:matrix.org
    [m]
    Is there an easy way to see what SVN revision the texlive:latest image is on?
    Without downloading the entire image and spawning a shell.
    1 reply
    Paulo Cereda
    @cereda:matrix.org
    [m]
    Thanks, Ben!
    hmenke
    @hmenke:matrix.org
    [m]
    It would be really useful to have image tags for different schemes (islandoftex/images/texlive#11)
    One very efficient way of doing this is to have a Docker file that does
    RUN tlmgr install scheme-minimal
    RUN tlmgr install scheme-medium
    ...
    RUN tlmgr install scheme-full
    1 reply
    Because each of these is incremental you can just tag the individual layers and have perfect reuse.
    Unfortunately this also means that build time for the Docker image will increase by a lot because tlmgr is slow.
    1 reply
    Ben Frank: I've seen that but to be quite honest, I think this is unreasonable.
    You just have to update the Debian base image once in a while.
    3 replies
    Otherwise you're distributing possibly insecure packages.
    hmenke
    @hmenke:matrix.org
    [m]
    The only other solution I can think of would be to install TeX Live outside of the Docker container, then start FROM scratch and copy the TeX Live tree inside. Then layer the Debian image on top of that.
    Also users can just run tlmgr update inside of their local copy.
    1 reply
    hmenke
    @hmenke:matrix.org
    [m]
    --- a/Dockerfile.latest
    +++ b/Dockerfile.latest
    @@ -45,7 +45,7 @@ RUN echo "Building with documentation: $DOCFILES" && \
       # actually install TeX Live
       cd install-tl* && \
       # choose complete installation
    -  echo "selected_scheme scheme-full" > install.profile && \
    +  echo "selected_scheme scheme-infraonly" > install.profile && \
       # … but disable documentation and source files when asked to stay slim
       if [ "$DOCFILES" = "no" ]; then echo "tlpdbopt_install_docfiles 0" >> install.profile && \
         echo "BUILD: Disabling documentation files"; fi && \
    @@ -60,6 +60,12 @@ RUN echo "Building with documentation: $DOCFILES" && \
       # add all relevant binaries to the PATH
       $(find /usr/local/texlive -name tlmgr) path add
    
    +RUN tlmgr install scheme-minimal
    +RUN tlmgr install scheme-basic
    +RUN tlmgr install scheme-small
    +RUN tlmgr install scheme-medium
    +RUN tlmgr install scheme-full
    +
     RUN \
       # test the installation
       latex --version && printf '\n' && \
    1 reply
    This is what I have in mind.
    1 reply
    The schemes context, gust, and tetex can be ignored I think.
    The scheme-gust is specific to GUST I guess and users of ConTeXt are anyway much better off using the ConTeXt beta images.
    tetex doesn't exist anymore (it was the predecessor of TeX Live) but if necessary this scheme would go between medium and full.
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    Hello. When can we expect TL2021-historic images on GitLab and DockerHub?
    1 reply
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    Thank you, Ben Frank , much appreciated.
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    Are there any updates on the TL2021-historic images, Ben Frank ?
    1 reply
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    Ben Frank: I see. The issue is the disk space available on the runners, then?
    1 reply
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    I see. That's an annoyance to be sure! Have you tried passing --force-rm and --no-build-cache to docker build?
    1 reply
    VĂ­t NovotnĂ˝
    @witiko:matrix.org
    [m]
    It makes docker build more aggressive about the layers it keeps when building. Please, let me know if it helps. 🙂
    Ben Frank
    @benfrank:matrix.org
    [m]
    Unfortunately, it does not work. GL runners are simply not suited anymore. I now built the image locally and will push it from here. But only for TL2021-historic (no doc, no src).