-
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
1 parent
1b7c348
commit c383497
Showing
3 changed files
with
46 additions
and
4 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,16 @@ | ||
FROM rockylinux:8 | ||
|
||
RUN dnf update -y | ||
|
||
RUN dnf install -y curl sudo | ||
|
||
# Set locale | ||
RUN dnf install -y glibc-langpack-en | ||
|
||
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 |
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,23 @@ | ||
FROM ubuntu:22.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 |