Skip to content

Commit 59fc3dc

Browse files
authored
Merge pull request #133 from rstudio/rhel10
Add images for Rocky Linux 10
2 parents 094bc25 + d6eec11 commit 59fc3dc

File tree

20 files changed

+278
-8
lines changed

20 files changed

+278
-8
lines changed

4.0/rockylinux10/Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
ARG BASE_IMAGE=posit/r-base
8+
FROM ${BASE_IMAGE}:rockylinux10
9+
10+
ARG R_VERSION=4.0.5
11+
ARG OS_IDENTIFIER=rhel-10
12+
13+
# Install R
14+
RUN wget "https://cdn.posit.co/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.$(arch).rpm" && \
15+
dnf -y install dnf-plugins-core && \
16+
dnf config-manager --set-enabled crb && \
17+
dnf -y install epel-release && \
18+
dnf -y install "./R-${R_VERSION}-1-1.$(arch).rpm" && \
19+
ln -s "/opt/R/${R_VERSION}/bin/R" /usr/bin/R && \
20+
ln -s "/opt/R/${R_VERSION}/bin/Rscript" /usr/bin/Rscript && \
21+
ln -s "/opt/R/${R_VERSION}/lib/R" /usr/lib/R && \
22+
rm "R-${R_VERSION}-1-1.$(arch).rpm" && \
23+
dnf -y remove epel-release && \
24+
dnf config-manager --set-disabled crb && \
25+
dnf clean all
26+
27+
CMD ["R"]

4.0/rockylinux10/version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.0.5

4.1/rockylinux10/Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
ARG BASE_IMAGE=posit/r-base
8+
FROM ${BASE_IMAGE}:rockylinux10
9+
10+
ARG R_VERSION=4.1.3
11+
ARG OS_IDENTIFIER=rhel-10
12+
13+
# Install R
14+
RUN wget "https://cdn.posit.co/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.$(arch).rpm" && \
15+
dnf -y install dnf-plugins-core && \
16+
dnf config-manager --set-enabled crb && \
17+
dnf -y install epel-release && \
18+
dnf -y install "./R-${R_VERSION}-1-1.$(arch).rpm" && \
19+
ln -s "/opt/R/${R_VERSION}/bin/R" /usr/bin/R && \
20+
ln -s "/opt/R/${R_VERSION}/bin/Rscript" /usr/bin/Rscript && \
21+
ln -s "/opt/R/${R_VERSION}/lib/R" /usr/lib/R && \
22+
rm "R-${R_VERSION}-1-1.$(arch).rpm" && \
23+
dnf -y remove epel-release && \
24+
dnf config-manager --set-disabled crb && \
25+
dnf clean all
26+
27+
CMD ["R"]

4.1/rockylinux10/version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.1.3

4.2/rockylinux10/Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
ARG BASE_IMAGE=posit/r-base
8+
FROM ${BASE_IMAGE}:rockylinux10
9+
10+
ARG R_VERSION=4.2.3
11+
ARG OS_IDENTIFIER=rhel-10
12+
13+
# Install R
14+
RUN wget "https://cdn.posit.co/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.$(arch).rpm" && \
15+
dnf -y install dnf-plugins-core && \
16+
dnf config-manager --set-enabled crb && \
17+
dnf -y install epel-release && \
18+
dnf -y install "./R-${R_VERSION}-1-1.$(arch).rpm" && \
19+
ln -s "/opt/R/${R_VERSION}/bin/R" /usr/bin/R && \
20+
ln -s "/opt/R/${R_VERSION}/bin/Rscript" /usr/bin/Rscript && \
21+
ln -s "/opt/R/${R_VERSION}/lib/R" /usr/lib/R && \
22+
rm "R-${R_VERSION}-1-1.$(arch).rpm" && \
23+
dnf -y remove epel-release && \
24+
dnf config-manager --set-disabled crb && \
25+
dnf clean all
26+
27+
CMD ["R"]

4.2/rockylinux10/version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.2.3

4.3/rockylinux10/Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
ARG BASE_IMAGE=posit/r-base
8+
FROM ${BASE_IMAGE}:rockylinux10
9+
10+
ARG R_VERSION=4.3.3
11+
ARG OS_IDENTIFIER=rhel-10
12+
13+
# Install R
14+
RUN wget "https://cdn.posit.co/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.$(arch).rpm" && \
15+
dnf -y install dnf-plugins-core && \
16+
dnf config-manager --set-enabled crb && \
17+
dnf -y install epel-release && \
18+
dnf -y install "./R-${R_VERSION}-1-1.$(arch).rpm" && \
19+
ln -s "/opt/R/${R_VERSION}/bin/R" /usr/bin/R && \
20+
ln -s "/opt/R/${R_VERSION}/bin/Rscript" /usr/bin/Rscript && \
21+
ln -s "/opt/R/${R_VERSION}/lib/R" /usr/lib/R && \
22+
rm "R-${R_VERSION}-1-1.$(arch).rpm" && \
23+
dnf -y remove epel-release && \
24+
dnf config-manager --set-disabled crb && \
25+
dnf clean all
26+
27+
CMD ["R"]

4.3/rockylinux10/version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.3.3

4.4/rockylinux10/Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
ARG BASE_IMAGE=posit/r-base
8+
FROM ${BASE_IMAGE}:rockylinux10
9+
10+
ARG R_VERSION=4.4.3
11+
ARG OS_IDENTIFIER=rhel-10
12+
13+
# Install R
14+
RUN wget "https://cdn.posit.co/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.$(arch).rpm" && \
15+
dnf -y install dnf-plugins-core && \
16+
dnf config-manager --set-enabled crb && \
17+
dnf -y install epel-release && \
18+
dnf -y install "./R-${R_VERSION}-1-1.$(arch).rpm" && \
19+
ln -s "/opt/R/${R_VERSION}/bin/R" /usr/bin/R && \
20+
ln -s "/opt/R/${R_VERSION}/bin/Rscript" /usr/bin/Rscript && \
21+
ln -s "/opt/R/${R_VERSION}/lib/R" /usr/lib/R && \
22+
rm "R-${R_VERSION}-1-1.$(arch).rpm" && \
23+
dnf -y remove epel-release && \
24+
dnf config-manager --set-disabled crb && \
25+
dnf clean all
26+
27+
CMD ["R"]

4.4/rockylinux10/version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.4.3

0 commit comments

Comments
 (0)