install bincraftR from git repo
This commit is contained in:
parent
e8855a4e4b
commit
17a8491684
5 changed files with 5 additions and 5 deletions
|
|
@ -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"]
|
||||
|
|
@ -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"]
|
||||
|
|
@ -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"]
|
||||
|
|
@ -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"]
|
||||
|
|
@ -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"]
|
||||
Loading…
Reference in a new issue