Skip to content
Snippets Groups Projects
Commit fd6b723c authored by Rich Burkmar's avatar Rich Burkmar
Browse files

Updated score service to use R 4.4.0

To address R vulnerability CVE-2024-27322
parent 94546601
No related branches found
Tags 1.1.2-1
No related merge requests found
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
......
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 \
libfribidi-dev
libxml2-dev
# Install libraries
# RUN R -e "options(repos = list(CRAN = 'http://mran.revolutionanalytics.com/snapshot/2021-09-28/'))"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment