File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,22 +88,12 @@ RUN set -eux; \
8888 # cleanup \
8989 apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
9090
91- # Quarto (for scientific writing) — latest AMD64 build
91+ # Quarto (for scientific writing) — prerelease channel, AMD64
9292RUN set -eux; \
93- STABLE_URL="https://github.com/quarto-dev/quarto-cli/releases/latest/download/quarto-linux-amd64.deb" ; \
94- TMP_DEB="/tmp/quarto-linux-amd64.deb" ; \
95- if ! curl -fL --retry 5 --retry-all-errors -o "$TMP_DEB" "$STABLE_URL" ; then \
96- echo "Stable Quarto download failed; trying prerelease channel" ; \
97- PRE_URL=$(curl -fsSL https://quarto.org/docs/download/_prerelease.json \
98- | sed -n 's/.*"download_url"[[:space:]]*:[[:space:]]*"\( [^"' ]*amd64\. deb\) ".*/\1 /p' \
99- | head -n1); \
100- test -n " $PRE_URL"; \
101- curl -fL --retry 5 --retry-all-errors -o " $TMP_DEB" " $PRE_URL"; \
102- fi; \
103- apt-get update -y --quiet; \
104- apt-get install -y --quiet --no-install-recommends " $TMP_DEB"; \
105- rm -f " $TMP_DEB" && \
106- apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
93+ ARCH=amd64; \
94+ curl -L "$(curl -fsSL https://quarto.org/docs/download/_prerelease.json | grep -oP " (?<=\\\" download_url\\\" :\\ s\\\" )https.*${ARCH}\\ .deb")" -o /tmp/quarto.deb; \
95+ dpkg -i /tmp/quarto.deb; \
96+ rm /tmp/quarto.deb
10797
10898# Python dependencies (relaxed pins for rapid development) + Snakemake
10999RUN python -m pip install --no-cache-dir --upgrade pip setuptools wheel && \
You can’t perform that action at this time.
0 commit comments