File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed
Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ ENV PATH="/opt/conan_env/bin:$PATH"
3434RUN <<-EOF
3535 set -e
3636 git config --global http.postBuffer 1048576000
37- conan config install /opt/ripple/conan/profiles/default -tf $(conan config home)/profiles
37+ conan config install /opt/ripple/conan/profiles/default -tf $(conan config home)/profiles
3838 conan remote add --index 0 xrplf "https://conan.ripplex.io"
3939 mkdir cmake_build
4040EOF
@@ -72,10 +72,37 @@ RUN <<-EOF
7272 mkdir -p /opt/ripple/.ripple/db
7373EOF
7474
75- COPY rippled.conf validators.txt /opt/ripple/.ripple/
75+ WORKDIR /opt/validator-keys-tool
76+
77+ RUN git clone --single-branch --branch "master" https://github.com/ripple/validator-keys-tool.git /opt/validator-keys-tool && \
78+ git checkout 05742108d4b7c0b7d9a97c073acd690d2c75a2b4
79+
80+ RUN <<-EOF
81+ set -e
82+ mkdir .build
83+ cd .build
84+ conan install \
85+ .. \
86+ --profile:host=default \
87+ --profile:build=default \
88+ --output-folder . \
89+ --build missing \
90+ --settings build_type=Release
91+ cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW \
92+ -DCMAKE_TOOLCHAIN_FILE:FILEPATH=conan_toolchain.cmake \
93+ -DCMAKE_BUILD_TYPE=Release \
94+ ..
95+ EOF
96+
97+ RUN <<-EOF
98+ set -e
99+ cd .build
100+ cmake --build .
101+ EOF
76102
77103FROM debian:trixie@sha256:8f6a88feef3ed01a300dafb87f208977f39dccda1fd120e878129463f7fa3b8f
78104COPY --from=build /opt/ripple/build /opt/ripple/
105+ COPY --from=build /opt/validator-keys-tool/.build/validator-keys /opt/ripple/bin/
79106
80107ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/London"
81108ENV PATH="/opt/ripple/bin:${PATH}"
You can’t perform that action at this time.
0 commit comments