Skip to content

Commit

Permalink
Merge pull request rstudio#158 from rstudio/fedora-39
Browse files Browse the repository at this point in the history
Add support for Fedora 39
  • Loading branch information
gaborcsardi committed Feb 23, 2024
2 parents 7cfee24 + d3c2ceb commit c02f117
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
IMAGE ?= rstudio/r-system-requirements
VARIANTS ?= focal jammy buster bullseye bookworm sid centos7 centos8 rockylinux9 opensuse154 opensuse155 fedora36 fedora37 fedora38 alpine-3.15 alpine-3.16 alpine-3.17 alpine-3.18 alpine-edge
VARIANTS ?= focal jammy buster bullseye bookworm sid centos7 centos8 rockylinux9 opensuse154 opensuse155 fedora36 fedora37 fedora38 fedora39 alpine-3.15 alpine-3.16 alpine-3.17 alpine-3.18 alpine-edge

RULES ?= rules/*.json

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The rules in this catalog support the following operating systems:
- openSUSE 15.4, 15.5
- SUSE Linux Enterprise 15 SP4, 15 SP5
- Debian 10, 11, 12, unstable
- Fedora 36, 37, 38
- Fedora 36, 37, 38, 39
- Windows (for R 4.0+ only)

\* Rocky Linux 8 is specified as `centos8` for backward compatibility.
Expand Down Expand Up @@ -297,6 +297,7 @@ Available tags:
- `fedora36` (Fedora 36)
- `fedora37` (Fedora 37)
- `fedora38` (Fedora 38)
- `fedora39` (Fedora 39)

To build the images:

Expand Down
8 changes: 8 additions & 0 deletions docker/fedora39/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM fedora:39

RUN dnf upgrade -y -q && \
dnf install -y glibc-langpack-en

# Install jq
RUN curl -fsSL -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && \
chmod +x /usr/local/bin/jq
3 changes: 2 additions & 1 deletion schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@
"enum": [
"36",
"37",
"38"
"38",
"39"
]
},
"alpine": {
Expand Down
2 changes: 1 addition & 1 deletion systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
{
"os": "linux",
"distribution": "fedora",
"versions": [ "36", "37", "38" ]
"versions": [ "36", "37", "38", "39" ]
},
{
"os": "linux",
Expand Down
2 changes: 2 additions & 0 deletions test/test-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ declare -A os_identifiers=(
[fedora36]='fedora'
[fedora37]='fedora'
[fedora38]='fedora'
[fedora39]='fedora'
[alpine-3.15]='alpine'
[alpine-3.16]='alpine'
[alpine-3.17]='alpine'
Expand Down Expand Up @@ -51,6 +52,7 @@ declare -A versions=(
[fedora36]='36'
[fedora37]='37'
[fedora38]='38'
[fedora39]='39'
[alpine-3.15]='3.15'
[alpine-3.16]='3.16'
[alpine-3.17]='3.17'
Expand Down

0 comments on commit c02f117

Please sign in to comment.