Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rstudio
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
rstudio
Commits
f1154d8e
Commit
f1154d8e
authored
8 years ago
by
Carl Boettiger
Browse files
Options
Downloads
Patches
Plain Diff
pin default repo to MRAN
parent
969c5c4e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tidyverse/3.3.2/Dockerfile
+6
-6
6 additions, 6 deletions
tidyverse/3.3.2/Dockerfile
with
6 additions
and
6 deletions
tidyverse/3.3.2/Dockerfile
+
6
−
6
View file @
f1154d8e
...
...
@@ -2,18 +2,18 @@ FROM rocker/rstudio:3.3.2
ARG
BUILD_DATE
RUN
apt-get update
-qq
&&
apt-get
-y
--no-install-recommends
install
\
build-essential
\
libxml2-dev
\
libsqlite-dev
\
libmariadbd-dev
\
libmariadb-client-lgpl-dev
\
libpq-dev
\
##
R dependencies, snapshot to build date
##
Set default repo to install all packages from date-locked MRAN snapshot of CRAN
&& [ -z "$BUILD_DATE" ] && BUILD_DATE=$(date -I) || true \
&& MRAN=https://mran.microsoft.com/snapshot/$BUILD_DATE \
&& Rscript -e "install.packages(c('RSQLite', 'RMySQL', 'RPostgreSQL'), repo = '$MRAN')" \
&& echo "options(repos = c(MRAN = '$MRAN'))" > /usr/local/lib/R/etc/Rprofile.site \
&& Rscript -e "install.packages(c('RSQLite', 'RMySQL', 'RPostgreSQL'))" \
## Temporary measure while git2r config is broken
&& Rscript -e "install.packages('devtools'
, repo = '$MRAN'
); devtools::install_github('ropensci/git2r')" \
## Install tidyverse & devtools
full
suite
&& Rscript -e "install.packages(c('tidyverse', 'devtools'), dep=TRUE
, repo = '$MRAN'
)"
&& Rscript -e "install.packages('devtools'); devtools::install_github('ropensci/git2r')" \
## Install tidyverse & devtools suite
s (including suggests)
&& Rscript -e "install.packages(c('tidyverse', 'devtools'
, 'profvis'
), dep=TRUE)"
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