Skip to content
Merged
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
10 changes: 6 additions & 4 deletions resources/images/bitcoin/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Setup deps stage
FROM alpine AS deps
FROM alpine:3.20 AS deps
ARG REPO
ARG COMMIT_SHA
ARG BUILD_ARGS
Expand All @@ -20,7 +20,8 @@ RUN --mount=type=cache,target=/var/cache/apk \
libtool \
linux-headers \
sqlite-dev \
zeromq-dev
zeromq-dev \
capnproto-dev

COPY isroutable.patch /tmp/
COPY addrman.patch /tmp/
Expand Down Expand Up @@ -51,7 +52,7 @@ RUN set -ex \
&& rm -f ${BITCOIN_PREFIX}/lib/libbitcoinconsensus.so.0.0.0

# Final clean stage
FROM alpine
FROM alpine:3.20
ARG UID=100
ARG GID=101
ENV BITCOIN_DATA=/root/.bitcoin
Expand All @@ -68,7 +69,8 @@ RUN --mount=type=cache,target=/var/cache/apk sed -i 's/http\:\/\/dl-cdn.alpineli
libzmq \
shadow \
sqlite-dev \
su-exec
su-exec \
capnproto-dev

COPY --from=build /opt/bitcoin /usr/local
COPY entrypoint.sh /
Expand Down
Loading