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
71fe64ac
Commit
71fe64ac
authored
2 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
re-organise ARG
parent
0c089401
No related branches found
No related tags found
1 merge request
!7
re-organise ARG
Pipeline
#102040
canceled
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-3
5 additions, 3 deletions
Dockerfile
with
5 additions
and
3 deletions
Dockerfile
+
5
−
3
View file @
71fe64ac
...
@@ -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"]
...
@@ -34,13 +32,17 @@ RUN apt-get update \
...
@@ -34,13 +32,17 @@ RUN apt-get update \
COPY
./scripts /opt/scripts
COPY
./scripts /opt/scripts
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
RUN
R
-q
-e
"sessionInfo()"
RUN
R
-q
-e
"sessionInfo()"
# Install R packages includ
ed Shiny, then install shiny server
# Install R packages includ
ing Shiny
RUN
Rscript /opt/scripts/install_r_packages.R
RUN
Rscript /opt/scripts/install_r_packages.R
# Install shiny server
ARG
SHINY_SERVER_VERSION=latest
RUN
/opt/scripts/install_shiny_server.sh
RUN
/opt/scripts/install_shiny_server.sh
# allows trafic from all ips
# allows trafic from all ips
...
...
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