Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    hmenke
    @hmenke:matrix.org
    [m]
    I want to give the IoT TL image a shot for PGF CI, but for that I need curl. Would it be possible to add curl to the base image?
    1 reply
    hmenke
    @hmenke:matrix.org
    [m]
    Cheers. I think the addition of curl would also be beneficial for other users. For example l3build also depends on curl for the CTAN upload.
    1 reply
    Paulo Cereda
    @cereda:matrix.org
    [m]
    Vít Novotný
    @witiko:matrix.org
    [m]
    Hello, folks and ducks. 🦆
    Paulo Cereda
    @cereda:matrix.org
    [m]
    Hello! :)
    Vít Novotný
    @witiko:matrix.org
    [m]
    I recently moved all my home computing to a Raspberry Pi 4B and I was surprised to see that we don't build texlive images for architectures other than amd64.
    5 replies
    Or is it just that architectures other than amd64 are not mirrored over to Docker Hub?
    In the first case, I think I might be able to help if there were interest.
    Paulo Cereda
    @cereda:matrix.org
    [m]
    I might need to poke Ben Frank , he knows way more than I do. :)
    Well, I know close to nothing, to be honest. :)
    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