Skip to content

Commit 7af9efa

Browse files
Merge branch 'main' into dependabot/github_actions/docker/setup-buildx-action-3.11.1
2 parents de109d5 + 8b76f00 commit 7af9efa

File tree

9 files changed

+27
-65
lines changed

9 files changed

+27
-65
lines changed

docker-compose-testnet.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
bitcoin:
33
container_name: bitcoin
4-
image: flarefoundation/bitcoin:29.0
4+
image: flarefoundation/bitcoin:29.1
55
restart: on-failure:3
66
environment:
77
- TZ=Europe/London
@@ -40,7 +40,7 @@ services:
4040

4141
rippled:
4242
container_name: rippled
43-
image: flarefoundation/rippled:2.5.0
43+
image: flarefoundation/rippled:2.6.0
4444
restart: on-failure:3
4545
environment:
4646
- TZ=Europe/London
@@ -58,7 +58,7 @@ services:
5858

5959
algorand:
6060
container_name: algorand
61-
image: flarefoundation/algorand:4.1.2
61+
image: flarefoundation/algorand:4.2.1
6262
restart: on-failure:3
6363
ports:
6464
- ${BIND_IP}:18080:8080

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
bitcoin:
33
container_name: bitcoin
4-
image: flarefoundation/bitcoin:29.0
4+
image: flarefoundation/bitcoin:29.1
55
restart: on-failure:3
66
environment:
77
- TZ=Europe/London
@@ -37,7 +37,7 @@ services:
3737

3838
rippled:
3939
container_name: rippled
40-
image: flarefoundation/rippled:2.5.0
40+
image: flarefoundation/rippled:2.6.0
4141
restart: on-failure:3
4242
environment:
4343
- TZ=Europe/London
@@ -55,7 +55,7 @@ services:
5555

5656
algorand:
5757
container_name: algorand
58-
image: flarefoundation/algorand:4.1.2
58+
image: flarefoundation/algorand:4.2.1
5959
restart: on-failure:3
6060
ports:
6161
- ${BIND_IP}:6332:8080

images/algorand/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1.3-labs
22
FROM debian:12@sha256:b6507e340c43553136f5078284c8c68d86ec8262b1724dde73c325e8d3dcdeba as build
33

4-
ARG ALGORAND_VERSION=v4.1.2-stable
4+
ARG ALGORAND_VERSION=v4.2.1-stable
55
ARG GO_VERSION=1.23.9
66

77
WORKDIR /opt/algorand

images/algorand/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docker build -t flarefoundation/algorand:4.1.2 .
1+
docker build -t flarefoundation/algorand:4.2.1 .

images/bitcoind/Dockerfile

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
# syntax=docker/dockerfile:1.3-labs
22
FROM debian:12@sha256:b6507e340c43553136f5078284c8c68d86ec8262b1724dde73c325e8d3dcdeba as build
33

4-
ARG VERSION=v29.0
4+
ARG VERSION=v29.1
55

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

88
# https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#linux-distribution-specific-instructions
99
RUN <<-EOF
10+
set -e
1011
apt-get -y update && \
1112
apt-get -y install \
12-
git \
13-
build-essential \
14-
cmake \
15-
curl
13+
git \
14+
build-essential \
15+
cmake \
16+
curl
1617
EOF
1718

1819
RUN git clone --single-branch --branch "${VERSION}" https://github.com/bitcoin/bitcoin.git /opt/bitcoin
1920

2021
WORKDIR /opt/bitcoin
2122

2223
RUN <<-EOF
24+
set -e
2325
make -C depends/ -j $(getconf _NPROCESSORS_ONLN) NO_QT=1 NO_QR=1 NO_WALLET=1
2426
cmake -B build \
2527
--toolchain /opt/bitcoin/depends/x86_64-pc-linux-gnu/toolchain.cmake \
@@ -29,15 +31,14 @@ RUN <<-EOF
2931
find /opt/bitcoin/build/bin -type f -executable -exec strip -s {} + 2>/dev/null || true
3032
EOF
3133

32-
RUN mkdir -p /opt/bitcoin/.bitcoin/db && \
33-
chown -R 65532:65532 /opt/bitcoin/
34+
RUN mkdir -p /opt/bitcoin/.bitcoin/db
3435

3536
FROM gcr.io/distroless/cc-debian12:nonroot@sha256:d1b8e4c52be1111aa108e959ef2a822299bb70fd1819dd250871a2601ca1e4b6 as final
3637

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

39-
COPY --from=build /opt/bitcoin/build/bin /opt/bitcoin/bin
40-
COPY --from=build /opt/bitcoin/.bitcoin/db /opt/bitcoin/.bitcoin/db
41-
COPY bitcoin.conf /opt/bitcoin/.bitcoin/bitcoin.conf
40+
COPY --from=build --chown=65532:65532 /opt/bitcoin/build/bin /opt/bitcoin/bin
41+
COPY --from=build --chown=65532:65532 /opt/bitcoin/.bitcoin/db /opt/bitcoin/.bitcoin/db
42+
COPY --chown=65532:65532 bitcoin.conf /opt/bitcoin/.bitcoin/bitcoin.conf
4243

4344
ENTRYPOINT ["/opt/bitcoin/bin/bitcoind", "-conf=/opt/bitcoin/.bitcoin/bitcoin.conf", "-datadir=/opt/bitcoin/.bitcoin/db", "-txindex=1"]

images/bitcoind/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docker build -t flarefoundation/bitcoin:29.0 .
1+
docker build -t flarefoundation/bitcoin:29.1 .

images/rippled/Dockerfile

Lines changed: 6 additions & 11 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: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

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

@@ -32,16 +32,11 @@ WORKDIR /opt/ripple
3232

3333
ENV 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-
4136
RUN <<-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
4742
EOF
@@ -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
@@ -81,7 +76,7 @@ EOF
8176

8277
COPY 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

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

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.5.0 .
1+
docker build -t flarefoundation/rippled:2.6.0-dless .

images/rippled/conan_default

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

0 commit comments

Comments
 (0)