-
Notifications
You must be signed in to change notification settings - Fork 271
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
2063d0f
commit d3f0b80
Showing
1 changed file
with
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## Emacs, make this -*- mode: sh; -*- | ||
|
||
FROM rocker/r-ubuntu:18.04 | ||
|
||
LABEL org.label-schema.license="GPL-2.0" \ | ||
org.label-schema.vcs-url="https://github.com/rocker-org/rocker" \ | ||
maintainer="Dirk Eddelbuettel <edd@debian.org>" | ||
|
||
## This was not needed before but we need it now | ||
#ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN add-apt-repository --yes "ppa:edd/r-4.0" \ | ||
&& apt-get install -y --no-install-recommends \ | ||
r-cran-bspm \ | ||
sudo \ | ||
&& echo "bspm::enable()" >> /etc/R/Rprofile.site \ | ||
&& echo "options(bspm.sudo=TRUE)" >> /etc/R/Rprofile.site \ | ||
&& echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/90local-no-recommends \ | ||
&& echo "docker ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/local-docker-user \ | ||
&& chmod 0440 /etc/sudoers.d/local-docker-user | ||
|
||
CMD ["bash"] |