Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying to bump the R version from cran #3324

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions visualisation-base-rv4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN \
ca-certificates \
dirmngr \
gnupg2 && \
echo "en_GB.UTF-8 UTF-8" >> /etc/locale.gen && \
echo "en_GB.UTF-8 UTF-8" >> /etc/locale.gen && \
locale-gen en_GB.utf8 && \
rm -rf /var/lib/apt/lists/*

Expand All @@ -23,15 +23,14 @@ RUN \
dirmngr \
gnupg2 && \
rm -rf /var/lib/apt/lists/* && \
echo "deb https://s3-eu-west-2.amazonaws.com/mirrors.notebook.uktrade.io/debian/ bullseye main" > /etc/apt/sources.list && \
echo "Acquire{Check-Valid-Until false; Retries 10;}" >> /etc/apt/apt.conf && \
echo "deb http://cran.ma.imperial.ac.uk/bin/linux/debian bullseye-cran40/" >> /etc/apt/sources.list && \
until apt-key adv --keyserver keyserver.ubuntu.com --recv-key '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7'; do sleep 10; done && \
gpg --armor --export '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7' | tee /etc/apt/trusted.gpg.d/cran_debian_key.asc && \
rm -rf /var/lib/apt/lists/* && \
apt-get update && \
apt-get install -y \
r-base \
r-recommended && \
r-base-dev=4.4.1-1~bullseyecran.0 \
r-base=4.4.1-1~bullseyecran.0 \
r-recommended=4.4.1-1~bullseyecran.0 && \
rm -rf /var/lib/apt/lists/* && \
# Remove the last line from sources: the CRAN debian repo that has R itself, which we don't mirror
sed -i '$d' /etc/apt/sources.list && \
Expand Down