add cmake
This commit is contained in:
parent
61ae0c1fdb
commit
b91e906099
5 changed files with 10 additions and 10 deletions
|
|
@ -15,7 +15,7 @@ ARG GITHUB_PAT
|
|||
|
||||
# Background: JAGS needs lapack & lapack-dev but these conflict with openblas-dev which is required by R-dev
|
||||
# Solution: first compile JAGS, then remove lapack & lapack-dev again
|
||||
RUN apk add -q --no-cache curl tar make lapack lapack-dev blas blas-dev gcc gfortran g++ htop git
|
||||
RUN apk add -q --no-cache curl tar make lapack lapack-dev blas blas-dev gcc gfortran g++ htop git cmake
|
||||
|
||||
### CUSTOM DEPENDENCIES
|
||||
# These usually are not packaged in OS repositories and need to be installed from source
|
||||
|
|
@ -47,7 +47,7 @@ RUN R -q -e 'install.packages("remotes", repo = "cloud.r-project.org"); remotes:
|
|||
|
||||
# FIXME: switch to pak after https://github.com/r-lib/pak/issues/628
|
||||
# deps from pak::pkg_deps(".")$package
|
||||
RUN R -q -e 'install.packages("remotes"); remotes::install_github((c("pat-s/cranlike@s3", "pat-s/desc@description-from-remote"))'
|
||||
RUN R -q -e 'install.packages("remotes"); remotes::install_github(c("pat-s/cranlike@s3", "pat-s/desc@description-from-remote"))'
|
||||
RUN R -q -e 'install.packages(c("DBI", "R6", "RPostgres", "Rcpp", "askpass", "base64enc", "bit64", "bit", "blob", "callr", "cli", "credentials", "curl", "data.table", "digest", "dplyr", "fansi", "fs", "future.apply", "future", "generics", "gert", "globals", "glue", "hms", "httr", "jsonlite", "lgr", "lifecycle", "listenv", "lubridate", "magrittr", "mime", "openssl", "parallelly", "paws.common", "paws.storage", "pillar", "pkgbuild", "pkgconfig", "processx", "progressr", "ps", "purrr", "rlang", "rstudioapi","s3fs", "stringi", "stringr", "sys", "tibble", "tidyselect", "timechange", "utf8", "vctrs", "withr", "xml2", "zip", "codetools", "RSQLite", "cachem", "crayon", "debugme", "fastmap", "memoise"))'
|
||||
|
||||
COPY . .
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ ARG GITHUB_PAT
|
|||
|
||||
RUN subscription-manager register --username mail@devxy.io --password "$RED_HAT_DEV_PW" && subscription-manager repos --enable codeready-builder-for-rhel-8-aarch64-rpms
|
||||
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && dnf install -y epel-release
|
||||
RUN dnf install -y -q make lapack-devel git gcc gcc-c++ fontconfig-devel fribidi-devel libjpeg-turbo-devel libtiff-devel postgresql-devel htop libgit2-devel libxml2-devel hiredis ccache
|
||||
RUN dnf install -y -q make lapack-devel git gcc gcc-c++ fontconfig-devel fribidi-devel libjpeg-turbo-devel libtiff-devel postgresql-devel htop libgit2-devel libxml2-devel hiredis ccache cmake
|
||||
|
||||
### CUSTOM DEPENDENCIES
|
||||
# These usually are not packaged in OS repositories and need to be installed from source
|
||||
|
|
@ -36,7 +36,7 @@ RUN bash -c 'echo -e "PKG_SYSREQS = TRUE\nPKG_SYSREQS_VERBOSE = TRUE" > /root/.R
|
|||
|
||||
# FIXME: switch to pak after https://github.com/r-lib/pak/issues/628
|
||||
# deps from pak::pkg_deps(".")$package
|
||||
RUN R -q -e 'install.packages("remotes"); remotes::install_github((c("pat-s/cranlike@s3", "pat-s/desc@description-from-remote"))'
|
||||
RUN R -q -e 'install.packages("remotes"); remotes::install_github(c("pat-s/cranlike@s3", "pat-s/desc@description-from-remote"))'
|
||||
RUN R -q -e 'install.packages(c("DBI", "R6", "RPostgres", "Rcpp", "askpass", "base64enc", "bit64", "bit", "blob", "callr", "cli", "credentials", "curl", "data.table", "digest", "dplyr", "fansi", "fs", "future.apply", "future", "generics", "gert", "globals", "glue", "hms", "httr", "jsonlite", "lgr", "lifecycle", "listenv", "lubridate", "magrittr", "mime", "openssl", "parallelly", "paws.common", "paws.storage", "pillar", "pkgbuild", "pkgconfig", "processx", "progressr", "ps", "purrr", "rlang", "rstudioapi","s3fs", "stringi", "stringr", "sys", "tibble", "tidyselect", "timechange", "utf8", "vctrs", "withr", "xml2", "zip", "codetools", "RSQLite", "cachem", "crayon", "debugme", "fastmap", "memoise"))'
|
||||
|
||||
COPY . .
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ ARG GITHUB_PAT
|
|||
|
||||
RUN subscription-manager register --username mail@devxy.io --password "$RED_HAT_DEV_PW" && subscription-manager repos --enable codeready-builder-for-rhel-9-aarch64-rpms
|
||||
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && dnf install -y epel-release
|
||||
RUN dnf install -y -q make lapack-devel git gcc gcc-c++ fontconfig-devel fribidi-devel libjpeg-turbo-devel libtiff-devel postgresql-devel htop libgit2-devel libxml2-devel hiredis ccache
|
||||
RUN dnf install -y -q make lapack-devel git gcc gcc-c++ fontconfig-devel fribidi-devel libjpeg-turbo-devel libtiff-devel postgresql-devel htop libgit2-devel libxml2-devel hiredis ccache cmake
|
||||
|
||||
### CUSTOM DEPENDENCIES
|
||||
# These usually are not packaged in OS repositories and need to be installed from source
|
||||
|
|
@ -36,7 +36,7 @@ RUN bash -c 'echo -e "PKG_SYSREQS = TRUE\nPKG_SYSREQS_VERBOSE = TRUE" > /root/.R
|
|||
|
||||
# FIXME: switch to pak after https://github.com/r-lib/pak/issues/628
|
||||
# deps from pak::pkg_deps(".")$package
|
||||
RUN R -q -e 'install.packages("remotes"); remotes::install_github((c("pat-s/cranlike@s3", "pat-s/desc@description-from-remote"))'
|
||||
RUN R -q -e 'install.packages("remotes"); remotes::install_github(c("pat-s/cranlike@s3", "pat-s/desc@description-from-remote"))'
|
||||
RUN R -q -e 'install.packages(c("DBI", "R6", "RPostgres", "Rcpp", "askpass", "base64enc", "bit64", "bit", "blob", "callr", "cli", "credentials", "curl", "data.table", "digest", "dplyr", "fansi", "fs", "future.apply", "future", "generics", "gert", "globals", "glue", "hms", "httr", "jsonlite", "lgr", "lifecycle", "listenv", "lubridate", "magrittr", "mime", "openssl", "parallelly", "paws.common", "paws.storage", "pillar", "pkgbuild", "pkgconfig", "processx", "progressr", "ps", "purrr", "rlang", "rstudioapi","s3fs", "stringi", "stringr", "sys", "tibble", "tidyselect", "timechange", "utf8", "vctrs", "withr", "xml2", "zip", "codetools", "RSQLite", "cachem", "crayon", "debugme", "fastmap", "memoise"))'
|
||||
|
||||
COPY . .
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ ENV PGPASS=""
|
|||
|
||||
ARG GITHUB_PAT
|
||||
|
||||
RUN apt update && apt install -y --no-install-recommends gdebi-core g++ gfortran libbz2-dev libblas-dev libicu-dev liblapack-dev liblzma-dev libpaper-utils libpcre2-dev libtcl8.6 libtk8.6 libxt6 unzip zip zlib1g-dev libpcre3-dev libopenblas-dev curl ca-certificates make ccache htop libgit2-dev git libpq-dev libxml2-dev libgit2-dev
|
||||
RUN apt update && apt install -y --no-install-recommends gdebi-core g++ gfortran libbz2-dev libblas-dev libicu-dev liblapack-dev liblzma-dev libpaper-utils libpcre2-dev libtcl8.6 libtk8.6 libxt6 unzip zip zlib1g-dev libpcre3-dev libopenblas-dev curl ca-certificates make ccache htop libgit2-dev git libpq-dev libxml2-dev libgit2-dev cmake
|
||||
|
||||
### CUSTOM DEPENDENCIES
|
||||
# These usually are not packaged in OS repositories and need to be installed from source
|
||||
|
|
@ -34,7 +34,7 @@ RUN bash -c 'echo -e "PKG_SYSREQS = TRUE\nPKG_SYSREQS_VERBOSE = TRUE" > /root/.R
|
|||
|
||||
# FIXME: switch to pak after https://github.com/r-lib/pak/issues/628
|
||||
# deps from pak::pkg_deps(".")$package
|
||||
RUN R -q -e 'install.packages("remotes"); remotes::install_github((c("pat-s/cranlike@s3", "pat-s/desc@description-from-remote"))'
|
||||
RUN R -q -e 'install.packages("remotes"); remotes::install_github(c("pat-s/cranlike@s3", "pat-s/desc@description-from-remote"))'
|
||||
RUN R -q -e 'install.packages(c("DBI", "R6", "RPostgres", "Rcpp", "askpass", "base64enc", "bit64", "bit", "blob", "callr", "cli", "credentials", "curl", "data.table", "digest", "dplyr", "fansi", "fs", "future.apply", "future", "generics", "gert", "globals", "glue", "hms", "httr", "jsonlite", "lgr", "lifecycle", "listenv", "lubridate", "magrittr", "mime", "openssl", "parallelly", "paws.common", "paws.storage", "pillar", "pkgbuild", "pkgconfig", "processx", "progressr", "ps", "purrr", "rlang", "rstudioapi","s3fs", "stringi", "stringr", "sys", "tibble", "tidyselect", "timechange", "utf8", "vctrs", "withr", "xml2", "zip", "codetools", "RSQLite", "cachem", "crayon", "debugme", "fastmap", "memoise"))'
|
||||
|
||||
COPY . .
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ ENV PGPASS=""
|
|||
|
||||
ARG GITHUB_PAT
|
||||
|
||||
RUN apt update && apt install -y --no-install-recommends gdebi-core g++ gfortran libbz2-dev libblas-dev libicu-dev liblapack-dev liblzma-dev libpaper-utils libpcre2-dev libtcl8.6 libtk8.6 libxt6 unzip zip zlib1g-dev libpcre3-dev libopenblas-dev curl ca-certificates make ccache htop libgit2-dev git libpq-dev libxml2-dev libgit2-dev
|
||||
RUN apt update && apt install -y --no-install-recommends gdebi-core g++ gfortran libbz2-dev libblas-dev libicu-dev liblapack-dev liblzma-dev libpaper-utils libpcre2-dev libtcl8.6 libtk8.6 libxt6 unzip zip zlib1g-dev libpcre3-dev libopenblas-dev curl ca-certificates make ccache htop libgit2-dev git libpq-dev libxml2-dev libgit2-dev cmake
|
||||
|
||||
### CUSTOM DEPENDENCIES
|
||||
# These usually are not packaged in OS repositories and need to be installed from source
|
||||
|
|
@ -34,7 +34,7 @@ RUN bash -c 'echo -e "PKG_SYSREQS = TRUE\nPKG_SYSREQS_VERBOSE = TRUE" > /root/.R
|
|||
|
||||
# FIXME: switch to pak after https://github.com/r-lib/pak/issues/628
|
||||
# deps from pak::pkg_deps(".")$package
|
||||
RUN R -q -e 'install.packages("remotes"); remotes::install_github((c("pat-s/cranlike@s3", "pat-s/desc@description-from-remote"))'
|
||||
RUN R -q -e 'install.packages("remotes"); remotes::install_github(c("pat-s/cranlike@s3", "pat-s/desc@description-from-remote"))'
|
||||
RUN R -q -e 'install.packages(c("DBI", "R6", "RPostgres", "Rcpp", "askpass", "base64enc", "bit64", "bit", "blob", "callr", "cli", "credentials", "curl", "data.table", "digest", "dplyr", "fansi", "fs", "future.apply", "future", "generics", "gert", "globals", "glue", "hms", "httr", "jsonlite", "lgr", "lifecycle", "listenv", "lubridate", "magrittr", "mime", "openssl", "parallelly", "paws.common", "paws.storage", "pillar", "pkgbuild", "pkgconfig", "processx", "progressr", "ps", "purrr", "rlang", "rstudioapi","s3fs", "stringi", "stringr", "sys", "tibble", "tidyselect", "timechange", "utf8", "vctrs", "withr", "xml2", "zip", "codetools", "RSQLite", "cachem", "crayon", "debugme", "fastmap", "memoise"))'
|
||||
|
||||
COPY . .
|
||||
|
|
|
|||
Loading…
Reference in a new issue