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
093e0de2
Commit
093e0de2
authored
8 years ago
by
Carl Boettiger
Browse files
Options
Downloads
Patches
Plain Diff
specify timezone to so build occurs after MRAN makes snapshot
parent
53b2cba0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+1
-1
1 addition, 1 deletion
Makefile
tidyverse/3.3.2/Dockerfile
+1
-1
1 addition, 1 deletion
tidyverse/3.3.2/Dockerfile
tidyverse/Dockerfile
+1
-1
1 addition, 1 deletion
tidyverse/Dockerfile
with
3 additions
and
3 deletions
Makefile
+
1
−
1
View file @
093e0de2
...
...
@@ -5,7 +5,7 @@ r-ver: .PHONY
rstudio
:
.PHONY
docker build
--build-arg
RSTUDIO_VERSION
=
1.0.44
-t
rocker/rstudio:
${
R_VERSION
}
rstudio/
${
R_VERSION
}
tidyverse
:
.PHONY
docker build
--build-arg
BUILD_DATE
=
$(
date
-I
)
-t
rocker/tidyverse:
${
R_VERSION
}
tidyverse/
${
R_VERSION
}
docker build
--build-arg
BUILD_DATE
=
$(
date
-I
--date
=
'TZ="America/Los_Angeles"'
)
-t
rocker/tidyverse:
${
R_VERSION
}
tidyverse/
${
R_VERSION
}
verse
:
.PHONY
docker build
-t
rocker/verse:
${
R_VERSION
}
verse/
${
R_VERSION
}
...
...
This diff is collapsed.
Click to expand it.
tidyverse/3.3.2/Dockerfile
+
1
−
1
View file @
093e0de2
...
...
@@ -8,7 +8,7 @@ RUN apt-get update -qq && apt-get -y --no-install-recommends install \
libmariadb-client-lgpl-dev
\
libpq-dev
\
## Set default repo to install all packages from date-locked MRAN snapshot of CRAN
&& [ -z "$BUILD_DATE" ] && BUILD_DATE=$(date -I) || true \
&& [ -z "$BUILD_DATE" ] && BUILD_DATE=$(date -I
--date='TZ="America/Los_Angeles"'
) || true \
&& MRAN=https://mran.microsoft.com/snapshot/$BUILD_DATE \
&& echo "options(repos = c(CRAN = 'https://cran.rstudio.com', MRAN = '$MRAN'))" > /usr/local/lib/R/etc/Rprofile.site \
&& Rscript -e "install.packages(c('RSQLite', 'RMySQL', 'RPostgreSQL'), repo = getOption('repos')[['MRAN']])" \
...
...
This diff is collapsed.
Click to expand it.
tidyverse/Dockerfile
+
1
−
1
View file @
093e0de2
...
...
@@ -8,7 +8,7 @@ RUN apt-get update -qq && apt-get -y --no-install-recommends install \
libmariadb-client-lgpl-dev
\
libpq-dev
\
## Set default repo to install all packages from date-locked MRAN snapshot of CRAN
&& [ -z "$BUILD_DATE" ] && BUILD_DATE=$(date -I) || true \
&& [ -z "$BUILD_DATE" ] && BUILD_DATE=$(date -I
--date='TZ="America/Los_Angeles"'
) || true \
&& MRAN=https://mran.microsoft.com/snapshot/$BUILD_DATE \
&& echo "options(repos = c(CRAN = 'https://cran.rstudio.com', MRAN = '$MRAN'))" > /usr/local/lib/R/etc/Rprofile.site \
&& Rscript -e "install.packages(c('RSQLite', 'RMySQL', 'RPostgreSQL'), repo = getOption('repos')[['MRAN']])" \
...
...
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