-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCC-31591 Force vcpkg build to use exact version of tools #18525
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
ARG VCPKG_REF=latest | ||
FROM hpccsystems/platform-build-base-amazonlinux:$VCPKG_REF | ||
|
||
RUN amazon-linux-extras install java-openjdk11 && yum install -y \ | ||
java-11-openjdk-devel \ | ||
python3-devel \ | ||
epel-release | ||
RUN yum install -y \ | ||
R-core-devel \ | ||
R-Rcpp-devel \ | ||
R-RInside-devel | ||
|
||
WORKDIR /hpcc-dev | ||
|
||
ENTRYPOINT ["/bin/bash", "--login", "-c"] | ||
|
||
CMD ["/bin/bash"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,6 @@ | ||
ARG VCPKG_REF=latest | ||
FROM hpccsystems/platform-build-base-centos-7:$VCPKG_REF | ||
|
||
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} | ||
|
||
WORKDIR /hpcc-dev | ||
|
||
ENTRYPOINT ["/bin/bash", "--login", "-c"] | ||
|
||
CMD ["/bin/bash"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
ARG VCPKG_REF=latest | ||
FROM hpccsystems/platform-build-base-centos-8:$VCPKG_REF | ||
|
||
RUN yum remove -y python3.11 java-1.* && yum install -y \ | ||
java-11-openjdk-devel \ | ||
python3-devel \ | ||
epel-release | ||
|
||
RUN yum install -y \ | ||
R-core-devel \ | ||
R-Rcpp-devel \ | ||
R-RInside-devel | ||
|
||
WORKDIR /hpcc-dev | ||
|
||
ENTRYPOINT ["/bin/bash", "--login", "-c"] | ||
|
||
CMD ["/bin/bash"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,6 @@ | ||
ARG VCPKG_REF=latest | ||
FROM hpccsystems/platform-build-base-ubuntu-20.04:$VCPKG_REF | ||
|
||
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} | ||
|
||
WORKDIR /hpcc-dev | ||
|
||
ENTRYPOINT ["/bin/bash", "--login", "-c"] | ||
|
||
CMD ["/bin/bash"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,6 @@ | ||
ARG VCPKG_REF=latest | ||
FROM hpccsystems/platform-build-base-ubuntu-22.04:$VCPKG_REF | ||
|
||
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 '*' | ||
|
||
WORKDIR /hpcc-dev | ||
|
||
ENTRYPOINT ["/bin/bash", "--login", "-c"] | ||
|
||
CMD ["/bin/bash"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,6 @@ | ||
ARG VCPKG_REF=latest | ||
FROM hpccsystems/platform-build-base-ubuntu-22.10:$VCPKG_REF | ||
|
||
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 '*' | ||
|
||
WORKDIR /hpcc-dev | ||
|
||
ENTRYPOINT ["/bin/bash", "--login", "-c"] | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm assuming we moved these additions to the dockerfile image over into the vcpkg repository dockerfile/ files? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes - its only a convenience for testing, both 9.4.x and 9.6.x are setup this way already. |
||
CMD ["/bin/bash"] |
+1 −1 | .dockerignore | |
+30 −6 | .github/workflows/prebuild-docker.yml | |
+5 −17 | .github/workflows/prebuild-gh_envs.yml | |
+0 −2 | .gitignore | |
+30 −16 | dockerfiles/amazonlinux.dockerfile | |
+40 −12 | dockerfiles/build.sh | |
+36 −14 | dockerfiles/centos-7.dockerfile | |
+28 −13 | dockerfiles/centos-8.dockerfile | |
+0 −89 | dockerfiles/ubuntu-18.04.dockerfile | |
+19 −2 | dockerfiles/ubuntu-20.04.dockerfile | |
+20 −2 | dockerfiles/ubuntu-22.04.dockerfile | |
+20 −2 | dockerfiles/ubuntu-23.04.dockerfile | |
+0 −20 | overlays/liblzma/add_support_ios.patch | |
+0 −20 | overlays/liblzma/build-tools.patch | |
+0 −12 | overlays/liblzma/fix_config_include.patch | |
+0 −84 | overlays/liblzma/portfile.cmake | |
+0 −9 | overlays/liblzma/usage | |
+0 −64 | overlays/liblzma/vcpkg-cmake-wrapper.cmake | |
+0 −23 | overlays/liblzma/vcpkg.json | |
+0 −17 | overlays/liblzma/win_output_name.patch | |
+9 −0 | overlays/x64-amazonlinux-dynamic.cmake | |
+9 −0 | overlays/x64-centos-7-dynamic.cmake | |
+14 −0 | vcpkg-configuration.json |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"default-registry": { | ||
"kind": "git", | ||
"repository": "https://github.com/microsoft/vcpkg", | ||
"baseline": "f6a5d4e8eb7476b8d7fc12a56dff300c1c986131" | ||
}, | ||
"registries": [], | ||
"overlay-ports": [ | ||
"./vcpkg_overlays", | ||
"./vcpkg/overlays" | ||
], | ||
"overlay-triplets": [ | ||
"./vcpkg_overlays", | ||
"./vcpkg/overlays" | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was the behavior before this checking the vcpkgTools.xml file and just using that as the minimum version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct it was defaulting to the system version if it was the same or newer. FYI this is also now set for 9.4.x (9.6.x was always using it).