-
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.
Add images for Rocky Linux 9, openSUSE 15.4
- Loading branch information
Showing
6 changed files
with
101 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
ARG BASE_IMAGE=rstudio/r-base | ||
FROM ${BASE_IMAGE}:%%VARIANT%% | ||
|
||
ARG R_VERSION=%%R_VERSION%% | ||
ARG OS_IDENTIFIER=%%OS_IDENTIFIER%% | ||
|
||
# Install R | ||
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \ | ||
dnf -y install dnf-plugins-core && \ | ||
dnf config-manager --set-enabled crb && \ | ||
dnf -y install epel-release && \ | ||
dnf -y install ./R-${R_VERSION}-1-1.x86_64.rpm && \ | ||
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \ | ||
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \ | ||
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \ | ||
rm R-${R_VERSION}-1-1.x86_64.rpm && \ | ||
dnf -y remove epel-release && \ | ||
dnf config-manager --set-disabled crb && \ | ||
dnf clean all | ||
|
||
CMD ["R"] |
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
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,36 @@ | ||
FROM opensuse/leap:15.4 | ||
LABEL maintainer="RStudio Docker <[email protected]>" | ||
|
||
RUN zypper --non-interactive update | ||
RUN zypper --non-interactive --gpg-auto-import-keys install \ | ||
fontconfig \ | ||
gzip \ | ||
sudo \ | ||
tar \ | ||
vim \ | ||
wget \ | ||
&& zypper clean --all | ||
|
||
# Install TinyTeX | ||
RUN wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh && \ | ||
/root/.TinyTeX/bin/*/tlmgr path remove && \ | ||
mv /root/.TinyTeX/ /opt/TinyTeX && \ | ||
/opt/TinyTeX/bin/*/tlmgr option sys_bin /usr/local/bin && \ | ||
/opt/TinyTeX/bin/*/tlmgr path add | ||
|
||
# Install pandoc | ||
RUN mkdir -p /opt/pandoc && \ | ||
wget -O /opt/pandoc/pandoc.gz https://files.r-hub.io/pandoc/linux-64/pandoc.gz && \ | ||
gzip -d /opt/pandoc/pandoc.gz && \ | ||
chmod +x /opt/pandoc/pandoc && \ | ||
ln -s /opt/pandoc/pandoc /usr/bin/pandoc && \ | ||
wget -O /opt/pandoc/pandoc-citeproc.gz https://files.r-hub.io/pandoc/linux-64/pandoc-citeproc.gz && \ | ||
gzip -d /opt/pandoc/pandoc-citeproc.gz && \ | ||
chmod +x /opt/pandoc/pandoc-citeproc && \ | ||
ln -s /opt/pandoc/pandoc-citeproc /usr/bin/pandoc-citeproc | ||
|
||
# Set default locale | ||
ENV LANG C.UTF-8 | ||
|
||
# Set default timezone | ||
ENV TZ UTC |
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,36 @@ | ||
FROM rockylinux:9 | ||
LABEL maintainer="RStudio Docker <[email protected]>" | ||
|
||
RUN dnf -y update && \ | ||
dnf -y install \ | ||
fontconfig \ | ||
glibc-langpack-en \ | ||
perl-File-Find \ | ||
sudo \ | ||
vim \ | ||
wget && \ | ||
dnf clean all | ||
|
||
# Install TinyTeX | ||
RUN wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh && \ | ||
/root/.TinyTeX/bin/*/tlmgr path remove && \ | ||
mv /root/.TinyTeX/ /opt/TinyTeX && \ | ||
/opt/TinyTeX/bin/*/tlmgr option sys_bin /usr/local/bin && \ | ||
/opt/TinyTeX/bin/*/tlmgr path add | ||
|
||
# Install pandoc | ||
RUN mkdir -p /opt/pandoc && \ | ||
wget -O /opt/pandoc/pandoc.gz https://files.r-hub.io/pandoc/linux-64/pandoc.gz && \ | ||
gzip -d /opt/pandoc/pandoc.gz && \ | ||
chmod +x /opt/pandoc/pandoc && \ | ||
ln -s /opt/pandoc/pandoc /usr/bin/pandoc && \ | ||
wget -O /opt/pandoc/pandoc-citeproc.gz https://files.r-hub.io/pandoc/linux-64/pandoc-citeproc.gz && \ | ||
gzip -d /opt/pandoc/pandoc-citeproc.gz && \ | ||
chmod +x /opt/pandoc/pandoc-citeproc && \ | ||
ln -s /opt/pandoc/pandoc-citeproc /usr/bin/pandoc-citeproc | ||
|
||
# Set default locale | ||
ENV LANG en_US.UTF-8 | ||
|
||
# Set default timezone | ||
ENV TZ UTC |
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