install bincraftR from git repo

This commit is contained in:
Patrick Schratz 2024-11-20 20:15:14 +01:00
commit 17a8491684
Signed by: pat-s
GPG key ID: 3C6318841EF78925
5 changed files with 5 additions and 5 deletions

View file

@ -55,6 +55,6 @@ RUN sed -i 's/,//g' /opt/R/${R_VERSION}/lib/R/library/utils/iconvlist
COPY --link . .
# remove secrets from COPY
RUN touch /.Renviron /.envrc && rm /.Renviron /.envrc
RUN R CMD INSTALL . && rm -rf r-pkg-binaries
RUN R -q -e 'pak::pak("git::https://gitlab.com/devxy/r-package-binaries/bincraftr.git")'
CMD ["/bin/bash"]

View file

@ -47,6 +47,6 @@ RUN R -q -e 'Sys.setenv("PKG_SYSREQS_PLATFORM" = "redhat-8"); pak::pak(c("DBI",
COPY --link . .
# remove secrets from COPY
RUN touch /.Renviron /.envrc && rm /.Renviron /.envrc
RUN R CMD INSTALL . && rm -rf r-pkg-binaries
RUN R -q -e 'pak::pak("git::https://gitlab.com/devxy/r-package-binaries/bincraftr.git")'
CMD ["/bin/bash"]

View file

@ -43,6 +43,6 @@ RUN R -q -e 'Sys.setenv("PKG_SYSREQS_PLATFORM" = "redhat-9"); pak::pak(c("DBI",
COPY --link . .
# remove secrets from COPY
RUN touch /.Renviron /.envrc && rm /.Renviron /.envrc
RUN R CMD INSTALL . && rm -rf r-pkg-binaries
RUN R -q -e 'pak::pak("git::https://gitlab.com/devxy/r-package-binaries/bincraftr.git")'
CMD ["/bin/bash"]

View file

@ -44,6 +44,6 @@ RUN R -q -e 'pak::pak(c("DBI", "R6", "RPostgres", "Rcpp", "askpass", "base64enc"
COPY --link . .
# remove secrets from COPY
RUN touch /.Renviron /.envrc && rm /.Renviron /.envrc
RUN R CMD INSTALL . && rm -rf r-pkg-binaries
RUN R -q -e 'pak::pak("git::https://gitlab.com/devxy/r-package-binaries/bincraftr.git")'
CMD ["/bin/bash"]

View file

@ -44,6 +44,6 @@ RUN R -q -e 'pak::pak(c("DBI", "R6", "RPostgres", "Rcpp", "askpass", "base64enc"
COPY --link . .
# remove secrets from COPY
RUN touch /.Renviron /.envrc && rm /.Renviron /.envrc
RUN R CMD INSTALL . && rm -rf r-pkg-binaries
RUN R -q -e 'pak::pak("git::https://gitlab.com/devxy/r-package-binaries/bincraftr.git")'
CMD ["/bin/bash"]