Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ docker run \
ghcr.io/flare-foundation/connected-chains-docker/distroless-debug:1.0.0
```

For images based on Debian 13, use version `2.0.0`.

Example commands:
```
# attach to running bitcoin node's namespaces
Expand Down
4 changes: 2 additions & 2 deletions images/debug/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.3-labs
FROM debian:12@sha256:b6507e340c43553136f5078284c8c68d86ec8262b1724dde73c325e8d3dcdeba as final
FROM debian:13@sha256:0d01188e8dd0ac63bf155900fad49279131a876a1ea7fac917c62e87ccb2732d as final

ARG VERSION=v1.0.0
ARG VERSION=v2.0.0

RUN apt-get update && apt-get install -y \
curl \
Expand Down
2 changes: 1 addition & 1 deletion images/debug/build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker build -t flarefoundation/distroless-debug:1.0.0 .
docker build -t flarefoundation/distroless-debug:2.0.0 .
36 changes: 33 additions & 3 deletions images/rippled/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.3-labs
FROM debian:bookworm@sha256:93492d1405a072c9d3b89110490e330e0b7eb37754cafc9520908b7fe6873f5f as build
FROM debian:trixie@sha256:0d01188e8dd0ac63bf155900fad49279131a876a1ea7fac917c62e87ccb2732d as build

ARG VERSION=2.6.1
ARG VERSION=3.0.0

ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/London"

Expand Down Expand Up @@ -72,14 +72,44 @@ RUN <<-EOF
mkdir -p /opt/ripple/.ripple/db
EOF

WORKDIR /opt/validator-keys-tool

RUN git clone --single-branch --branch "master" https://github.com/ripple/validator-keys-tool.git /opt/validator-keys-tool && \
git checkout 05742108d4b7c0b7d9a97c073acd690d2c75a2b4

RUN <<-EOF
set -e
mkdir .build
cd .build
conan install \
.. \
--profile:host=default \
--profile:build=default \
--output-folder . \
--build missing \
--settings build_type=Release
cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW \
-DCMAKE_TOOLCHAIN_FILE:FILEPATH=conan_toolchain.cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_EXE_LINKER_FLAGS="-static" \
..
EOF

RUN <<-EOF
set -e
cd .build
cmake --build .
EOF

COPY rippled.conf validators.txt /opt/ripple/.ripple/

FROM gcr.io/distroless/base-debian12:nonroot@sha256:c1201b805d3a35a4e870f9ce9775982dd166a2b0772232638dd2440fbe0e0134 as final
FROM gcr.io/distroless/base-debian13:nonroot@sha256:c0d0c9c854a635e57be1d6635e066b076de3b217c7b971b213cea2e5641cc3a0 as final

ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/London"

COPY --from=build --chown=65532:65532 /opt/ripple/build/bin/ /opt/ripple/bin/
COPY --from=build --chown=65532:65532 /opt/ripple/.ripple/ /opt/ripple/.ripple/
COPY --from=build /opt/validator-keys-tool/.build/validator-keys /opt/ripple/bin/

# https://xrpl.org/commandline-usage.html
ENTRYPOINT ["/opt/ripple/bin/rippled", "--conf=/opt/ripple/.ripple/rippled.conf", "--fg"]
132 changes: 0 additions & 132 deletions images/rippled/Dockerfile.2.6.2

This file was deleted.

141 changes: 0 additions & 141 deletions images/rippled/Dockerfile.2.6.2.uid_65532

This file was deleted.

2 changes: 1 addition & 1 deletion images/rippled/build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker build -t flarefoundation/rippled:2.6.1-dless .
docker build -t flarefoundation/rippled:3.0.0-dless .
1 change: 0 additions & 1 deletion images/rippled/build_2_6_2.sh

This file was deleted.

Loading