Skip to content

Commit e9be6f0

Browse files
committed
R Installation
1 parent 6059d78 commit e9be6f0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ARG BASE_IMAGE_TAG=jammy-latest
77
ARG ECR_URI=${ECR_ACCOUNT_ID}.dkr.ecr-fips.${ECR_REGION}.amazonaws.com/${BASE_IMAGE_NAME}:${BASE_IMAGE_TAG}
88

99
FROM ${ECR_URI} as docker-code-server-python
10+
ENV R_VERSION=3.2.0
1011

1112
ARG DEBIAN_FRONTEND="noninteractive"
1213

@@ -28,7 +29,12 @@ RUN echo "**** install Python 3.12 ****" && \
2829
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12 && \
2930
pip3 install --upgrade pip setuptools wheel && \
3031
python3 --version && \
31-
pip3 --version && \
32+
pip3 --version
33+
34+
35+
RUN echo "**** install R ${R_VERSION} ****" && \
36+
curl -O https://cdn.posit.co/r/ubuntu-2204/pkgs/r-${R_VERSION}_1_$(dpkg --print-architecture).deb && \
37+
apt-get -y install ./r-${R_VERSION}_1_$(dpkg --print-architecture).deb && \
3238
echo "**** clean up ****" && \
3339
apt-get clean && \
3440
rm -rf \

0 commit comments

Comments
 (0)