Drop Debian 9 builds for EOL
* Update default R version in README
This commit is contained in:
parent
be7bbc48e7
commit
b3a54b1583
1 changed files with 11 additions and 125 deletions
21
README.md
21
README.md
|
|
@ -20,7 +20,7 @@ bug, or ask questions on [RStudio Community](https://community.rstudio.com).
|
|||
R binaries are built for the following Linux operating systems:
|
||||
|
||||
- Ubuntu 18.04, 20.04, 22.04
|
||||
- Debian 9, 10, 11
|
||||
- Debian 10, 11
|
||||
- CentOS 7
|
||||
- Red Hat Enterprise Linux 7, 8
|
||||
- openSUSE 15.3
|
||||
|
|
@ -48,7 +48,7 @@ bash -c "$(curl -L https://rstd.io/r-install)"
|
|||
Define the version of R that you want to install. Available versions
|
||||
of R can be found here: https://cdn.rstudio.com/r/versions.json
|
||||
```bash
|
||||
R_VERSION=3.5.3
|
||||
R_VERSION=4.1.3
|
||||
```
|
||||
|
||||
### Download and install R
|
||||
|
|
@ -65,9 +65,6 @@ wget https://cdn.rstudio.com/r/ubuntu-2004/pkgs/r-${R_VERSION}_1_amd64.deb
|
|||
# Ubuntu 22.04
|
||||
wget https://cdn.rstudio.com/r/ubuntu-2204/pkgs/r-${R_VERSION}_1_amd64.deb
|
||||
|
||||
# Debian 9
|
||||
wget https://cdn.rstudio.com/r/debian-9/pkgs/r-${R_VERSION}_1_amd64.deb
|
||||
|
||||
# Debian 10
|
||||
wget https://cdn.rstudio.com/r/debian-10/pkgs/r-${R_VERSION}_1_amd64.deb
|
||||
|
||||
|
|
@ -185,8 +182,8 @@ environment:
|
|||
- LOCAL_STORE=/tmp/output # ensures that output tarballs are persisted locally
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.debian-9
|
||||
image: r-builds:debian-9
|
||||
dockerfile: Dockerfile.debian-11
|
||||
image: r-builds:debian-11
|
||||
volumes:
|
||||
- ./integration/tmp:/tmp/output # path to output tarballs
|
||||
```
|
||||
|
|
@ -196,7 +193,7 @@ volumes:
|
|||
IN `serverless-resources.yml` you'll need to add a job definition that points to the ECR image.
|
||||
|
||||
```
|
||||
rBuildsBatchJobDefinitionDebian9:
|
||||
rBuildsBatchJobDefinitionDebian11:
|
||||
Type: AWS::Batch::JobDefinition
|
||||
Properties:
|
||||
Type: container
|
||||
|
|
@ -207,7 +204,7 @@ rBuildsBatchJobDefinitionDebian9:
|
|||
Memory: 4096
|
||||
JobRoleArn:
|
||||
"Fn::GetAtt": [ rBuildsEcsTaskIamRole, Arn ]
|
||||
Image: #{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:debian-9
|
||||
Image: #{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/r-builds:debian-11
|
||||
```
|
||||
|
||||
### Environment variables in the serverless.yml functions.
|
||||
|
|
@ -220,9 +217,9 @@ The serverless functions which trigger R builds need to be informed of new platf
|
|||
```
|
||||
environment:
|
||||
# snip
|
||||
JOB_DEFINITION_ARN_debian_9:
|
||||
Ref: rBuildsBatchJobDefinitionDebian9
|
||||
SUPPORTED_PLATFORMS: ubuntu-1804,debian-9,debian-10,centos-7,centos-8
|
||||
JOB_DEFINITION_ARN_debian_11:
|
||||
Ref: rBuildsBatchJobDefinitionDebian11
|
||||
SUPPORTED_PLATFORMS: ubuntu-1804,debian-10,centos-7,centos-8
|
||||
```
|
||||
|
||||
### Makefile
|
||||
|
|
|
|||
Loading…
Reference in a new issue