forked from XRPLF/rippled
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into badmarker_rh--nf…
…tpage * upstream/develop: Set version to 1.10.0-rc4 Rename 'NFT' to 'NFToken' in DisallowIncoming flags (XRPLF#4442) Update Docker.md (XRPLF#4432) Update package building scripts and images to use Conan (XRPLF#4435) Disable duplicate detector: (XRPLF#4438)
- Loading branch information
Showing
28 changed files
with
282 additions
and
800 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,3 +106,6 @@ compile_commands.json | |
.clangd | ||
packages | ||
pkg_out | ||
pkg | ||
CMakeUserPresets.json | ||
bld.rippled/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,26 @@ | ||
FROM centos:7 | ||
FROM rippleci/centos:7 | ||
ARG GIT_COMMIT=unknown | ||
ARG CI_USE=false | ||
|
||
LABEL git-commit=$GIT_COMMIT | ||
|
||
COPY centos-builder/centos_setup.sh /tmp/ | ||
COPY shared/build_deps.sh /tmp/ | ||
COPY shared/install_cmake.sh /tmp/ | ||
COPY centos-builder/extras.sh /tmp/ | ||
COPY shared/install_boost.sh /tmp/ | ||
RUN chmod +x /tmp/centos_setup.sh && \ | ||
chmod +x /tmp/build_deps.sh && \ | ||
chmod +x /tmp/install_boost.sh && \ | ||
chmod +x /tmp/install_cmake.sh && \ | ||
chmod +x /tmp/extras.sh | ||
chmod +x /tmp/install_cmake.sh | ||
RUN /tmp/centos_setup.sh | ||
|
||
RUN /tmp/install_cmake.sh 3.16.1 /opt/local/cmake-3.16 | ||
RUN /tmp/install_cmake.sh 3.16.3 /opt/local/cmake-3.16 | ||
RUN ln -s /opt/local/cmake-3.16 /opt/local/cmake | ||
ENV PATH="/opt/local/cmake/bin:$PATH" | ||
# also install min supported cmake for testing | ||
RUN if [ "${CI_USE}" = true ] ; then /tmp/install_cmake.sh 3.9.0 /opt/local/cmake-3.9; fi | ||
# TODO: Install latest CMake for testing | ||
RUN if [ "${CI_USE}" = true ] ; then /tmp/install_cmake.sh 3.16.3 /opt/local/cmake-3.16; fi | ||
|
||
RUN source scl_source enable devtoolset-7 python27 && \ | ||
/tmp/build_deps.sh | ||
ENV BOOST_ROOT="/opt/local/boost/_INSTALLED_" | ||
ENV PLANTUML_JAR="/opt/plantuml/plantuml.jar" | ||
ENV OPENSSL_ROOT="/opt/local/openssl" | ||
ENV GDB_ROOT="/opt/local/gdb" | ||
RUN source scl_source enable devtoolset-7 python27 && \ | ||
/tmp/extras.sh | ||
|
||
# prep files for package building | ||
RUN mkdir -m 777 -p /opt/rippled_bld/pkg | ||
|
||
WORKDIR /opt/rippled_bld/pkg | ||
RUN mkdir -m 777 ./rpmbuild | ||
RUN mkdir -m 777 ./rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} | ||
|
||
COPY packaging/rpm/build_rpm.sh ./ | ||
CMD ./build_rpm.sh | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.