try fixing images build_args
This commit is contained in:
parent
5048a14f17
commit
9c5337be1e
1 changed files with 21 additions and 11 deletions
|
|
@ -3,6 +3,8 @@ FROM alpine:3.20
|
|||
ENV PATH=/opt/R/4.4.1/bin:$PATH
|
||||
ENV TZ="Europe/Berlin"
|
||||
|
||||
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
|
||||
|
|
@ -17,7 +19,7 @@ RUN apk del lapack lapack-dev
|
|||
# libxml2-dev: xml2
|
||||
# libgit2-dev: gert
|
||||
# libpq-dev: RPostgres
|
||||
RUN apk add -q --no-cache R-dev curl ca-certificates bash g++ tzdata openjdk17 tar sed patch openblas-dev pkgconfig linux-headers ccache libxml2-dev libgit2-dev
|
||||
RUN apk add -q --no-cache R-dev curl ca-certificates bash g++ tzdata openjdk17 tar sed patch openblas-dev pkgconfig linux-headers ccache libxml2-dev libgit2-dev libpq-dev
|
||||
|
||||
# https://github.com/RcppCore/Rcpp/issues/448#issuecomment-220148774
|
||||
# LDFLAGS+=-fPIC -> arrow (https://github.com/r-hub/r-minimal/blob/main/examples/arrow/Dockerfile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue