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
6 changes: 3 additions & 3 deletions docker-compose-testnet.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
bitcoin:
container_name: bitcoin
image: flarefoundation/bitcoin:29.0
image: flarefoundation/bitcoin:29.1
restart: on-failure:3
environment:
- TZ=Europe/London
Expand Down Expand Up @@ -40,7 +40,7 @@ services:

rippled:
container_name: rippled
image: flarefoundation/rippled:2.5.0
image: flarefoundation/rippled:2.6.0
restart: on-failure:3
environment:
- TZ=Europe/London
Expand All @@ -58,7 +58,7 @@ services:

algorand:
container_name: algorand
image: flarefoundation/algorand:4.1.2
image: flarefoundation/algorand:4.2.1
restart: on-failure:3
ports:
- ${BIND_IP}:18080:8080
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
bitcoin:
container_name: bitcoin
image: flarefoundation/bitcoin:29.0
image: flarefoundation/bitcoin:29.1
restart: on-failure:3
environment:
- TZ=Europe/London
Expand Down Expand Up @@ -37,7 +37,7 @@ services:

rippled:
container_name: rippled
image: flarefoundation/rippled:2.5.0
image: flarefoundation/rippled:2.6.0
restart: on-failure:3
environment:
- TZ=Europe/London
Expand All @@ -55,7 +55,7 @@ services:

algorand:
container_name: algorand
image: flarefoundation/algorand:4.1.2
image: flarefoundation/algorand:4.2.1
restart: on-failure:3
ports:
- ${BIND_IP}:6332:8080
Expand Down
2 changes: 1 addition & 1 deletion images/algorand/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 build

ARG ALGORAND_VERSION=v4.1.2-stable
ARG ALGORAND_VERSION=v4.2.1-stable
ARG GO_VERSION=1.23.9

WORKDIR /opt/algorand
Expand Down
2 changes: 1 addition & 1 deletion images/algorand/build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker build -t flarefoundation/algorand:4.1.2 .
docker build -t flarefoundation/algorand:4.2.1 .
21 changes: 11 additions & 10 deletions images/bitcoind/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
# syntax=docker/dockerfile:1.3-labs
FROM debian:12@sha256:b6507e340c43553136f5078284c8c68d86ec8262b1724dde73c325e8d3dcdeba as build

ARG VERSION=v29.0
ARG VERSION=v29.1

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

# https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#linux-distribution-specific-instructions
RUN <<-EOF
set -e
apt-get -y update && \
apt-get -y install \
git \
build-essential \
cmake \
curl
git \
build-essential \
cmake \
curl
EOF

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

WORKDIR /opt/bitcoin

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

RUN mkdir -p /opt/bitcoin/.bitcoin/db && \
chown -R 65532:65532 /opt/bitcoin/
RUN mkdir -p /opt/bitcoin/.bitcoin/db

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

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

COPY --from=build /opt/bitcoin/build/bin /opt/bitcoin/bin
COPY --from=build /opt/bitcoin/.bitcoin/db /opt/bitcoin/.bitcoin/db
COPY bitcoin.conf /opt/bitcoin/.bitcoin/bitcoin.conf
COPY --from=build --chown=65532:65532 /opt/bitcoin/build/bin /opt/bitcoin/bin
COPY --from=build --chown=65532:65532 /opt/bitcoin/.bitcoin/db /opt/bitcoin/.bitcoin/db
COPY --chown=65532:65532 bitcoin.conf /opt/bitcoin/.bitcoin/bitcoin.conf

ENTRYPOINT ["/opt/bitcoin/bin/bitcoind", "-conf=/opt/bitcoin/.bitcoin/bitcoin.conf", "-datadir=/opt/bitcoin/.bitcoin/db", "-txindex=1"]
2 changes: 1 addition & 1 deletion images/bitcoind/build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker build -t flarefoundation/bitcoin:29.0 .
docker build -t flarefoundation/bitcoin:29.1 .