Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Decide
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
brc
Decide
Commits
fd6b723c
Commit
fd6b723c
authored
11 months ago
by
Rich Burkmar
Browse files
Options
Downloads
Patches
Plain Diff
Updated score service to use R 4.4.0
To address R vulnerability
CVE-2024
-27322
parent
94546601
No related branches found
Branches containing commit
Tags
1.1.2-1
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+6
-6
6 additions, 6 deletions
docker-compose.yml
score/dockerfile
+43
-16
43 additions, 16 deletions
score/dockerfile
with
49 additions
and
22 deletions
docker-compose.yml
+
6
−
6
View file @
fd6b723c
version
:
'
3'
services
:
app
:
build
:
./decideapp
image
:
decideapp
container_name
:
decideapp
ports
:
-
"
80:80"
#
app:
#
build: ./decideapp
#
image: decideapp
#
container_name: decideapp
#
ports:
#
- "80:80"
# nlg:
# build: ./nlg
...
...
This diff is collapsed.
Click to expand it.
score/dockerfile
+
43
−
16
View file @
fd6b723c
FROM
r-base:4.
3.1
FROM
r-base:4.
4.0
RUN
apt-get update
-qq
# Install the linux libraries needed for plumber
RUN
apt-get
install
-y
\
libssl-dev
\
libcurl4-gnutls-dev
\
libsodium-dev
# # Install the linux libraries needed for plumber
# RUN apt-get install -y \
# libssl-dev \
# libcurl4-gnutls-dev \
# libsodium-dev
# # Install the ubuntu libraries needed for R spatial stuff
# RUN apt-get install -y \
# libgdal-dev \
# libproj-dev \
# libgeos-dev \
# libudunits2-dev \
# libv8-dev libnode-dev \
# libcairo2-dev \
# libnetcdf-dev
# Install the ubuntu libraries needed for R spatial stuff
RUN
apt-get
install
-y
\
# # Other libraries needed for tidyverse
# RUN apt-get install -y \
# libharfbuzz-dev \
# libfribidi-dev
# Install the ubuntu libraries needed for R packages.
# Use packagemanager to get system dependencies, e.g:
# https://packagemanager.rstudio.com/__api__/repos/1/sysreqs?all=false&pkgname=sf&distribution=ubuntu&release=22.04
RUN
apt-get update
-qq
&&
apt-get
install
-y
\
libcurl4-openssl-dev
\
libssl-dev
\
make
\
zlib1g-dev
\
libsodium-dev
\
libicu-dev
\
libgdal-dev
\
libproj-dev
\
gdal-bin
\
libgeos-dev
\
libproj-dev
\
libsqlite3-dev
\
libudunits2-dev
\
libv8-dev libnode-dev
\
libcairo2-dev
\
libnetcdf-dev
# Other libraries needed for tidyverse
RUN
apt-get
install
-y
\
libpng-dev
\
pandoc
\
libfreetype6-dev
\
libjpeg-dev
\
libtiff-dev
\
libfontconfig1-dev
\
libfreetype6-dev
\
libfribidi-dev
\
libharfbuzz-dev
\
lib
fribidi
-dev
lib
xml2
-dev
# Install libraries
# RUN R -e "options(repos = list(CRAN = 'http://mran.revolutionanalytics.com/snapshot/2021-09-28/'))"
...
...
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