-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |