Rerender 06-matrix-images to fix Python installs#18
Closed
ianpittwood wants to merge 1 commit intomainfrom
Closed
Conversation
This was referenced Apr 22, 2026
bschwedler
added a commit
that referenced
this pull request
Apr 22, 2026
Replace the tarball download of Quarto with an apt install from the
Posit Open repository (`dl.posit.co/public/open/`). This sidesteps the
`${TARGETARCH}` expansion bug in #18 — where the PR swapped
`linux-amd64` for `linux-${TARGETARCH}` but the final stage did not
declare `ARG TARGETARCH`, so the URL expanded to
`...-linux-.tar.gz` and returned 404.
Why apt instead of patching the tarball URL:
- `quarto` is published as a multi-arch deb (amd64 + arm64) to the
Posit Open repo on both `jammy` and `noble`, so the install works
uniformly without URL construction.
- The base image already runs `setup.deb.sh` for the Pro repo; adding
the Open repo is a one-liner that mirrors that pattern.
- No tarball extraction, no `TARGETARCH` juggling, no stale mirror
concerns.
The `quarto` deb installs the binary to `/opt/quarto/bin/quarto` and
symlinks it into `/usr/local/bin/quarto` via its postinst script, so
TinyTeX is installed via that path. `xz-utils` is installed
explicitly because the TinyTeX tarball is `.tar.xz` and the Ubuntu
24.04 base does not include it.
Goss tests now assert the apt-installed Quarto package at the pinned
version and the presence of the `/opt/quarto/bin/quarto` binary,
replacing the previous `/opt/quarto/${QUARTO_VERSION}` file check
that no longer applies.
Supersedes #18.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.