11# syntax=docker/dockerfile:1.3-labs
2- FROM debian:12@sha256:b6507e340c43553136f5078284c8c68d86ec8262b1724dde73c325e8d3dcdeba as build
2+ FROM debian:12@sha256:731dd1380d6a8d170a695dbeb17fe0eade0e1c29f654cf0a3a07f372191c3f4b as build
33
4- ARG VERSION=2.5 .0
4+ ARG VERSION=2.6 .0
55
66ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/London"
77
@@ -32,16 +32,11 @@ WORKDIR /opt/ripple
3232
3333ENV PATH="/opt/conan_env/bin:$PATH"
3434
35- # New and improved build process, but is not in latest (2.5.0) release yet
36- # Move from copying the default profile to using one in
37- # "/opt/ripple/conan/profiles/default" after it gets integrated
3835# https://github.com/XRPLF/rippled/blob/develop/BUILD.md
39- COPY conan_default conan_default
40-
4136RUN <<-EOF
4237 set -e
4338 git config --global http.postBuffer 1048576000
44- conan config install conan_default -tf $(conan config home)/profiles
39+ conan config install /opt/ripple/conan/profiles/default -tf $(conan config home)/profiles
4540 conan remote add --index 0 xrplf "https://conan.ripplex.io"
4641 mkdir cmake_build
4742EOF
@@ -51,8 +46,8 @@ RUN <<-EOF
5146 cd cmake_build
5247 conan install \
5348 .. \
54- --profile:host=conan_default \
55- --profile:build=conan_default \
49+ --profile:host=default \
50+ --profile:build=default \
5651 --output-folder . \
5752 --build missing \
5853 --settings build_type=Release
8176
8277COPY rippled.conf validators.txt /opt/ripple/.ripple/
8378
84- FROM gcr.io/distroless/base-debian12:nonroot@sha256:dca858878977f01b80685240ca2cd9c1bb38958e2ab6f4ed5698c0ea23307143 as final
79+ FROM gcr.io/distroless/base-debian12:nonroot@sha256:c1201b805d3a35a4e870f9ce9775982dd166a2b0772232638dd2440fbe0e0134 as final
8580
8681ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/London"
8782
0 commit comments