add libpq to ubuntu images
This commit is contained in:
parent
e0b1c191a2
commit
bbb8eacd48
2 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ ENV PATH=/opt/R/4.4.1/bin:$PATH
|
||||||
ENV TZ="Europe/Berlin"
|
ENV TZ="Europe/Berlin"
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
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
|
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
|
||||||
|
|
||||||
### CUSTOM DEPENDENCIES
|
### CUSTOM DEPENDENCIES
|
||||||
# These usually are not packaged in OS repositories and need to be installed from source
|
# These usually are not packaged in OS repositories and need to be installed from source
|
||||||
|
|
@ -19,6 +19,6 @@ RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/
|
||||||
COPY . .
|
COPY . .
|
||||||
# FIXME: switch to pak after https://github.com/r-lib/pak/issues/628
|
# FIXME: switch to pak after https://github.com/r-lib/pak/issues/628
|
||||||
RUN R -q -e 'Sys.setenv(PKG_SYSREQS = TRUE, PKG_SYSREQS_VERBOSE = TRUE); options(Ncpus = 4, repos = structure(c(devxy = "https://cran.devxy.io/arm64/jammy/latest", CRAN = "https://cloud.r-project.org"))); install.packages("remotes"); remotes::install_deps()'
|
RUN R -q -e 'Sys.setenv(PKG_SYSREQS = TRUE, PKG_SYSREQS_VERBOSE = TRUE); options(Ncpus = 4, repos = structure(c(devxy = "https://cran.devxy.io/arm64/jammy/latest", CRAN = "https://cloud.r-project.org"))); install.packages("remotes"); remotes::install_deps()'
|
||||||
RUN rm -rf arm-binaries-r
|
RUN rm -rf arm64-binaries-r
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
|
|
@ -4,7 +4,7 @@ ENV PATH=/opt/R/4.4.1/bin:$PATH
|
||||||
ENV TZ="Europe/Berlin"
|
ENV TZ="Europe/Berlin"
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
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
|
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
|
||||||
|
|
||||||
### CUSTOM DEPENDENCIES
|
### CUSTOM DEPENDENCIES
|
||||||
# These usually are not packaged in OS repositories and need to be installed from source
|
# These usually are not packaged in OS repositories and need to be installed from source
|
||||||
|
|
@ -19,6 +19,6 @@ RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/
|
||||||
COPY . .
|
COPY . .
|
||||||
# FIXME: switch to pak after https://github.com/r-lib/pak/issues/628
|
# FIXME: switch to pak after https://github.com/r-lib/pak/issues/628
|
||||||
RUN R -q -e 'Sys.setenv(PKG_SYSREQS = TRUE, PKG_SYSREQS_VERBOSE = TRUE); options(Ncpus = 4, repos = structure(c(devxy = "https://cran.devxy.io/arm64/noble/latest", CRAN = "https://cloud.r-project.org"))); install.packages("remotes"); remotes::install_deps()'
|
RUN R -q -e 'Sys.setenv(PKG_SYSREQS = TRUE, PKG_SYSREQS_VERBOSE = TRUE); options(Ncpus = 4, repos = structure(c(devxy = "https://cran.devxy.io/arm64/noble/latest", CRAN = "https://cloud.r-project.org"))); install.packages("remotes"); remotes::install_deps()'
|
||||||
RUN rm -rf arm-binaries-r
|
RUN rm -rf arm64-binaries-r
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
Loading…
Reference in a new issue