Skip to content

Commit 1ef8d26

Browse files
committed
fix(ccbr_atacseq): use HTTPS wget for CRAN GPG key in Dockerfile.v13
apt-key adv --keyserver keyserver.ubuntu.com is blocked in GitHub Actions runners (exit code 255 / no outbound access to keyserver ports). Use wget over HTTPS to fetch the ASCII-armored key and pipe to apt-key add -, which is accessible from the CI network. ⚡ generated using AI ⚡
1 parent 761ff4f commit 1ef8d26

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

master_images/ccbr_atacseq/Dockerfile.v13

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ ENV DOCKERFILE=${DOCKERFILE} \
2727
# ── Layer 1: R 4.4 + additional system packages ──────────────────────────────
2828
# Ubuntu 20.04 (focal) default apt gives R 3.6.3; BiocT2T requires R >= 4.3.
2929
# Add the CRAN focal-cran44 PPA and upgrade r-base before any R work.
30-
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && \
30+
# Key fetched via HTTPS (keyserver ports are blocked in GitHub Actions runners).
31+
RUN wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc \
32+
| apt-key add - && \
3133
echo "deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran44/" \
3234
> /etc/apt/sources.list.d/cran_r44.list && \
3335
apt-get update && \

0 commit comments

Comments
 (0)