Skip to content

Commit a2e3c93

Browse files
Merge pull request #58 from flare-foundation/feature/rippled_2.6.1
add rippled 2.6.1
2 parents e1201ec + bdc0071 commit a2e3c93

File tree

7 files changed

+16
-285
lines changed

7 files changed

+16
-285
lines changed

config/ripple/rippled.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,8 +1217,8 @@ advisory_delete=0
12171217

12181218
# This needs to be an absolute directory reference, not a relative one.
12191219
# Modify this value as required.
1220-
[debug_logfile]
1221-
/var/log/rippled/debug.log
1220+
#[debug_logfile]
1221+
#/var/log/rippled/debug.log
12221222

12231223
[sntp_servers]
12241224
time.windows.com

docker-compose-testnet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ services:
4040

4141
rippled:
4242
container_name: rippled
43-
image: flarefoundation/rippled:2.6.0
43+
image: flarefoundation/rippled:2.6.1-dless
4444
restart: on-failure:3
4545
environment:
4646
- TZ=Europe/London
@@ -52,9 +52,9 @@ services:
5252
- ${BIND_IP}:11233:51233 # port_ws_public
5353
- ${BIND_IP}:10051:50051 # port_grpc
5454
volumes:
55-
- ripple-testnet-data:/opt/ripple/.ripple/db
56-
- ./config-testnet/ripple/rippled.conf:/opt/ripple/.ripple/rippled.conf
57-
- ./config-testnet/ripple/validators.txt:/opt/ripple/.ripple/validators.txt
55+
- ripple-testnet-data:/opt/ripple/.ripple/db:rw
56+
- ./config-testnet/ripple/rippled.conf:/opt/ripple/.ripple/rippled.conf:ro
57+
- ./config-testnet/ripple/validators.txt:/opt/ripple/.ripple/validators.txt:ro
5858

5959
algorand:
6060
container_name: algorand

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ services:
3737

3838
rippled:
3939
container_name: rippled
40-
image: flarefoundation/rippled:2.6.0
40+
image: flarefoundation/rippled:2.6.1-dless
4141
restart: on-failure:3
4242
environment:
4343
- TZ=Europe/London
@@ -49,9 +49,9 @@ services:
4949
- ${BIND_IP}:51233:51233 # port_ws_public
5050
- ${BIND_IP}:50051:50051 # port_grpc
5151
volumes:
52-
- ripple-data:/opt/ripple/.ripple/db
53-
- ./config/ripple/rippled.conf:/opt/ripple/.ripple/rippled.conf
54-
- ./config/ripple/validators.txt:/opt/ripple/.ripple/validators.txt
52+
- ripple-data:/opt/ripple/.ripple/db:rw
53+
- ./config/ripple/rippled.conf:/opt/ripple/.ripple/rippled.conf:ro
54+
- ./config/ripple/validators.txt:/opt/ripple/.ripple/validators.txt:ro
5555

5656
algorand:
5757
container_name: algorand

images/rippled/Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1.3-labs
2-
FROM debian:12@sha256:731dd1380d6a8d170a695dbeb17fe0eade0e1c29f654cf0a3a07f372191c3f4b as build
2+
FROM debian:bookworm@sha256:93492d1405a072c9d3b89110490e330e0b7eb37754cafc9520908b7fe6873f5f as build
33

4-
ARG VERSION=2.6.0
4+
ARG VERSION=2.6.1
55

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

@@ -15,14 +15,12 @@ RUN <<-EOF
1515
cmake
1616
EOF
1717

18-
# To generate requirements.txt, run:
19-
# echo "conan" > requirements.in
20-
# pip-compile --generate-hashes --output-file=requirements.txt requirements.in
21-
COPY requirements.txt /tmp/requirements.txt
22-
2318
RUN <<-EOF
2419
set -e
20+
echo "conan" > /tmp/requirements.in
2521
python3 -m venv /opt/conan_env
22+
/opt/conan_env/bin/python -m pip install pip-tools
23+
/opt/conan_env/bin/pip-compile --generate-hashes --output-file=/tmp/requirements.txt /tmp/requirements.in
2624
/opt/conan_env/bin/python -m pip install -r /tmp/requirements.txt --require-hashes
2725
EOF
2826

images/rippled/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docker build -t flarefoundation/rippled:2.6.0-dless .
1+
docker build -t flarefoundation/rippled:2.6.1-dless .

images/rippled/requirements.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

images/rippled/requirements.txt

Lines changed: 0 additions & 266 deletions
This file was deleted.

0 commit comments

Comments
 (0)