Skip to content

Commit

Permalink
fix dockerfile/vcpkg files
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Gardner <[email protected]>
  • Loading branch information
Michael-Gardner committed Dec 8, 2023
1 parent 2c6648f commit 5a8fab3
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 6 deletions.
19 changes: 17 additions & 2 deletions dockerfiles/vcpkg/centos-7.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
ARG VCPKG_REF=latest
FROM hpccsystems/platform-build-base-centos-7:$VCPKG_REF

ENTRYPOINT ["/bin/bash", "--login", "-c"]
RUN yum install -y \
java-11-openjdk-devel \
python3-devel \
wget \
epel-release
RUN yum update -y && yum install -y R-core-devel

ENV Rcpp_package=Rcpp_0.12.19.tar.gz
ENV RInside_package=RInside_0.2.12.tar.gz

RUN wget https://cran.r-project.org/src/contrib/Archive/Rcpp/${Rcpp_package}
RUN wget https://cran.r-project.org/src/contrib/Archive/RInside/${RInside_package}
RUN R CMD INSTALL ${Rcpp_package} ${RInside_package}
RUN rm -f ${Rcpp_package} ${RInside_package}

CMD ["/bin/bash"]
WORKDIR /hpcc-dev

ENTRYPOINT ["/bin/bash", "--login", "-c"]
16 changes: 14 additions & 2 deletions dockerfiles/vcpkg/ubuntu-20.04.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
ARG VCPKG_REF=latest
FROM hpccsystems/platform-build-base-ubuntu-20.04:$VCPKG_REF

ENTRYPOINT ["/bin/bash", "--login", "-c"]
ENV RInside_package=RInside_0.2.14.tar.gz

RUN apt-get update && apt-get install --no-install-recommends -y \
default-jdk \
python3-dev \
wget \
r-base \
r-cran-rcpp
RUN wget https://cran.r-project.org/src/contrib/Archive/RInside/${RInside_package}
RUN R CMD INSTALL ${RInside_package}
RUN rm -f ${RInside_package}

CMD ["/bin/bash"]
WORKDIR /hpcc-dev

ENTRYPOINT ["/bin/bash", "--login", "-c"]
18 changes: 16 additions & 2 deletions dockerfiles/vcpkg/ubuntu-22.04.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
ARG VCPKG_REF=latest
FROM hpccsystems/platform-build-base-ubuntu-22.04:$VCPKG_REF

ENTRYPOINT ["/bin/bash", "--login", "-c"]
RUN apt-get update && apt-get install --no-install-recommends -y \
default-jdk \
ninja-build \
python3-dev \
rsync \
fop \
libsaxonb-java \
r-base \
r-cran-rcpp \
r-cran-rinside \
r-cran-inline

RUN git config --global --add safe.directory '*'

CMD ["/bin/bash"]
WORKDIR /hpcc-dev

ENTRYPOINT ["/bin/bash", "--login", "-c"]

0 comments on commit 5a8fab3

Please sign in to comment.