Skip to content

Commit

Permalink
Add rig-ubuntu24
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 15, 2024
1 parent 19a3808 commit 2cdee5d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ FIXME

FIXME

### [rig-ubuntu24](rig-ubuntu24)

Ubuntu 24.04 with rig.

### [rigraph-san](rigraph-san)

FIXME
Expand Down
24 changes: 24 additions & 0 deletions rig-ubuntu24/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Before changing this to 24.04, check if pak install from binary
FROM ubuntu:24.04

RUN apt-get update && apt-get install -y curl sudo locales ccache

# https://stackoverflow.com/a/28406007/946850
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen

ENV LANG=en_US.UTF-8

ENV LANGUAGE=en_US:en

ENV LC_ALL=en_US.UTF-8

RUN /usr/sbin/update-ccache-symlinks

RUN curl -Ls https://github.com/r-lib/rig/releases/download/latest/rig-linux-latest.tar.gz | sudo tar xz -C /usr/local

RUN mkdir /root/.R && echo 'MAKEFLAGS=-j4' > /root/.R/Makevars

RUN rig add release && rig add devel

WORKDIR /root/workspace

0 comments on commit 2cdee5d

Please sign in to comment.