Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
verse
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
rocker
verse
Commits
7245f8fa
Commit
7245f8fa
authored
8 years ago
by
Carl Boettiger
Browse files
Options
Downloads
Patches
Plain Diff
fix littler install2.r use
parent
e0689005
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
rstudio/Dockerfile
+0
-3
0 additions, 3 deletions
rstudio/Dockerfile
tidyverse/Dockerfile
+10
-11
10 additions, 11 deletions
tidyverse/Dockerfile
verse/Dockerfile
+2
-1
2 additions, 1 deletion
verse/Dockerfile
with
12 additions
and
15 deletions
rstudio/Dockerfile
+
0
−
3
View file @
7245f8fa
...
...
@@ -59,9 +59,6 @@ RUN apt-get update \
\n exec /usr/lib/rstudio-server/bin/rserver --server-daemonize 0' \
> /etc/services.d/rstudio/run
## Temp measure for RStudio bug(?) https://support.rstudio.com/hc/en-us/community/posts/245035627-RStudio-erroneously-asks-to-install-build-tools-when-they-are-already-installed
RUN
rm
-rf
/etc/R/
*
.site
&&
DEBIAN_FRONTEND
=
noninteractive
&&
apt-get update
&&
apt-get
-y
install
--no-install-recommends
r-base-core
COPY
userconf.sh /etc/cont-init.d/conf
EXPOSE
8787
...
...
This diff is collapsed.
Click to expand it.
tidyverse/Dockerfile
+
10
−
11
View file @
7245f8fa
...
...
@@ -7,17 +7,16 @@ RUN apt-get update -qq && apt-get -y --no-install-recommends install \
libmariadbd-dev
\
libmariadb-client-lgpl-dev
\
libpq-dev
\
liblzma-dev
\
libpcre3-dev
\
libbz2-dev
\
## install these packages from date-locked MRAN snapshot of CRAN
&& [ -z "$BUILD_DATE" ] && BUILD_DATE=$(date -I --date='TZ="America/Los_Angeles"') || true \
## use an install script so installation failures are errors, not warnings.
## In this script, REPOS and DEPS arguments are set via env vars, package names given as arguments
&& wget https://raw.githubusercontent.com/rocker-org/rocker-versioned/master/tidyverse/install.r -O /usr/local/bin/install.r \
&& chmod +x /usr/local/bin/install.r \
## grab a devtools dependency which is not on CRAN:
&& export REPOS=http://www.bioconductor.org/packages/release/bioc \
&& install.r BiocInstaller \
## Keep track of the MRAN version, so downstream Dockerfiles can build from this snapshot too
&& echo "REPOS=https://mran.microsoft.com/snapshot/$BUILD_DATE" >> /usr/local/lib/R/etc/Renviron \
&& export INCLUDE_SUGGESTS="TRUE" \
&& install.r tidyverse devtools profvis
&& MRAN=https://mran.microsoft.com/snapshot/${BUILD_DATE} \
&& echo MRAN=$MRAN >> /etc/environment \
&& Rscript -e "install.packages(c('littler', 'docopt'), repo = '$MRAN')" \
&& ln -s /usr/local/lib/R/site-library/littler/examples/install2.r /usr/local/bin/install2.r \
&& ln -s /usr/local/lib/R/site-library/littler/bin/r /usr/local/bin/r \
&& install2.r --error --repos $MRAN --deps "TRUE" \
&& tidyverse devtools profvis
This diff is collapsed.
Click to expand it.
verse/Dockerfile
+
2
−
1
View file @
7245f8fa
...
...
@@ -27,7 +27,8 @@ RUN apt-get update \
&& updmap-sys \
## And some nice R packages for publishing-related stuff
&& export INCLUDE_SUGGESTS="TRUE" \
&& install.r bookdown rticles rmdshower
&& install2.r --error --repos $MRAN --deps "TRUE" \
&& bookdown rticles rmdshower
## Consider: yihui/printr when released
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment