Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
shiny-k8s
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
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
Show more breadcrumbs
hub
shiny-k8s
Commits
f83d970d
Commit
f83d970d
authored
2 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Plain Diff
Merge branch 'improve-build-speed-3' into 'main'
move ARG See merge request hub/rshiny-k8s!12
parents
e6fb32ed
aecf64a6
No related branches found
No related tags found
1 merge request
!12
move ARG
Pipeline
#102622
canceled
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
with
2 additions
and
2 deletions
Dockerfile
+
2
−
2
View file @
f83d970d
...
@@ -3,8 +3,6 @@ FROM ubuntu:focal
...
@@ -3,8 +3,6 @@ FROM ubuntu:focal
# define geographic location during R installation
# define geographic location during R installation
ENV
TZ=Etc/UTC
ENV
TZ=Etc/UTC
ENV
DEBIAN_FRONTEND=noninteractive
ENV
DEBIAN_FRONTEND=noninteractive
ARG
SHINY_SERVER_VERSION=latest
ARG
R_VERSION=latest
EXPOSE
3838
EXPOSE
3838
CMD
["shiny-server"]
CMD
["shiny-server"]
...
@@ -41,6 +39,7 @@ COPY ./scripts/install_r_cran.sh /opt/scripts/install_r_cran.sh
...
@@ -41,6 +39,7 @@ COPY ./scripts/install_r_cran.sh /opt/scripts/install_r_cran.sh
# Copy the R archive is already present, otherwise it will be downloaded
# Copy the R archive is already present, otherwise it will be downloaded
# COPY ./R*.tar.gz /tmp/
# COPY ./R*.tar.gz /tmp/
ARG
R_VERSION=latest
# Install R, along with its dependencies
# Install R, along with its dependencies
RUN
/opt/scripts/install_r_cran.sh
RUN
/opt/scripts/install_r_cran.sh
# Test R in another layer
# Test R in another layer
...
@@ -49,6 +48,7 @@ RUN R -q -e "sessionInfo()"
...
@@ -49,6 +48,7 @@ RUN R -q -e "sessionInfo()"
# Copy the remaining scripts
# Copy the remaining scripts
COPY
./scripts /opt/scripts
COPY
./scripts /opt/scripts
ARG
SHINY_SERVER_VERSION=latest
# Install R packages included Shiny, then install shiny server
# Install R packages included Shiny, then install shiny server
RUN
/opt/scripts/configure_Rprofile.sh
\
RUN
/opt/scripts/configure_Rprofile.sh
\
&&
Rscript /opt/scripts/install_r_packages.R
&&
Rscript /opt/scripts/install_r_packages.R
...
...
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