Skip to content

Commit 58cc4de

Browse files
authored
Merge pull request #290 from pre-commit-ci/noble-r
build R 4.4.2 for ubuntu noble
2 parents d953524 + 386ffd2 commit 58cc4de

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

languages/R/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
FROM ubuntu:jammy
1+
FROM ubuntu:noble
22
RUN : \
3-
# https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list
4-
&& sed -i 's/^# deb-src /deb-src /' /etc/apt/sources.list \
3+
&& sed -i 's/^Types: deb$/Types: deb deb-src/g' /etc/apt/sources.list.d/ubuntu.sources \
54
&& apt-get update \
65
&& DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends build-dep r-base \
76
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl \

languages/R/build.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
#!/usr/bin/env bash
22
set -euxo pipefail
33

4-
R_VERSION=4.3.1
5-
R_SHA256=8dd0bf24f1023c6f618c3b317383d291b4a494f40d73b983ac22ffea99e4ba99
4+
R_VERSION=4.4.2
5+
R_SHA256=1578cd603e8d866b58743e49d8bf99c569e81079b6a60cf33cdf7bdffeb817ec
66
# https://www.r-project.org/
77

8+
cd "$(dirname "$0")"
9+
810
podman build \
911
--build-arg=R_VERSION="$R_VERSION" \
1012
--build-arg=R_SHA256="$R_SHA256" \

0 commit comments

Comments
 (0)