From b91e9060996cd67c8555c9a5dabc7bdc2889acc9 Mon Sep 17 00:00:00 2001 From: pat-s Date: Sun, 8 Sep 2024 18:37:51 +0200 Subject: [PATCH] add cmake --- docker/Dockerfile-alpine-320 | 4 ++-- docker/Dockerfile-redhat-8 | 4 ++-- docker/Dockerfile-redhat-9 | 4 ++-- docker/Dockerfile-ubuntu-2204 | 4 ++-- docker/Dockerfile-ubuntu-2404 | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docker/Dockerfile-alpine-320 b/docker/Dockerfile-alpine-320 index 072b059..72106ee 100644 --- a/docker/Dockerfile-alpine-320 +++ b/docker/Dockerfile-alpine-320 @@ -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 . . diff --git a/docker/Dockerfile-redhat-8 b/docker/Dockerfile-redhat-8 index fd2288b..fe8dfe7 100644 --- a/docker/Dockerfile-redhat-8 +++ b/docker/Dockerfile-redhat-8 @@ -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 . . diff --git a/docker/Dockerfile-redhat-9 b/docker/Dockerfile-redhat-9 index 8ff49de..4d07bd9 100644 --- a/docker/Dockerfile-redhat-9 +++ b/docker/Dockerfile-redhat-9 @@ -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 . . diff --git a/docker/Dockerfile-ubuntu-2204 b/docker/Dockerfile-ubuntu-2204 index 33cfd8f..ec4c155 100644 --- a/docker/Dockerfile-ubuntu-2204 +++ b/docker/Dockerfile-ubuntu-2204 @@ -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 . . diff --git a/docker/Dockerfile-ubuntu-2404 b/docker/Dockerfile-ubuntu-2404 index 75fc85c..ab58428 100644 --- a/docker/Dockerfile-ubuntu-2404 +++ b/docker/Dockerfile-ubuntu-2404 @@ -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 . .