Skip to content

Commit

Permalink
add r-bspm for bionic
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Aug 24, 2020
1 parent 2063d0f commit d3f0b80
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions r-bspm/bionic/Dockerfile
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"]

0 comments on commit d3f0b80

Please sign in to comment.