Skip to content

Commit d47397b

Browse files
committed
fix: set alpine version to 3.20
build Berkeley DB fail with alpine 3.21 Bitcoin Core v0.21 use descriptor wallet Legacy wallet need Berkeley DB 4.8
1 parent 2f0f8f3 commit d47397b

File tree

6 files changed

+15
-47
lines changed

6 files changed

+15
-47
lines changed

.github/workflows/bitcoin_core.yaml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -21,38 +21,6 @@ jobs:
2121
image:
2222
- name: 25-alpine
2323
context: "./25/alpine"
24-
- name: 25-debian
25-
context: "./25/debian"
26-
- name: 25-ubuntu
27-
context: "./25/ubuntu"
28-
- name: 25-lightninglabs-alpine
29-
context: "./25/alpine/lightninglabs"
30-
- name: 26-alpine
31-
context: "./26/alpine"
32-
- name: 26-debian
33-
context: "./26/debian"
34-
- name: 26-ubuntu
35-
context: "./26/ubuntu"
36-
- name: 26-lightninglabs-alpine
37-
context: "./26/alpine/lightninglabs"
38-
- name: 27-alpine
39-
context: "./27/alpine"
40-
- name: 27-debian
41-
context: "./27/debian"
42-
- name: 28-alpine
43-
context: "./28/alpine"
44-
- name: 28-debian
45-
context: "./28/debian"
46-
- name: 28-ubuntu
47-
context: "./28/ubuntu"
48-
- name: 29-alpine
49-
context: "./29/alpine"
50-
- name: 29-debian
51-
context: "./29/debian"
52-
- name: 29-ubuntu
53-
context: "./29/ubuntu"
54-
- name: latest
55-
context: "./29/alpine"
5624
steps:
5725
- name: Checkout
5826
uses: actions/checkout@v4

25/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage for BerkeleyDB
2-
FROM alpine as berkeleydb
2+
FROM alpine:3.20 as berkeleydb
33

44
RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
55
RUN apk --no-cache add autoconf
@@ -23,7 +23,7 @@ RUN make install
2323
RUN rm -rf ${BERKELEYDB_PREFIX}/docs
2424

2525
# Build stage for Bitcoin Core
26-
FROM alpine as bitcoin-core
26+
FROM alpine:3.20 as bitcoin-core
2727

2828
COPY --from=berkeleydb /opt /opt
2929

@@ -89,7 +89,7 @@ RUN strip ${BITCOIN_PREFIX}/lib/libbitcoinconsensus.a
8989
RUN strip ${BITCOIN_PREFIX}/lib/libbitcoinconsensus.so.0.0.0
9090

9191
# Build stage for compiled artifacts
92-
FROM alpine
92+
FROM alpine:3.20
9393

9494
ARG UID=100
9595
ARG GID=101

26/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage for BerkeleyDB
2-
FROM alpine as berkeleydb
2+
FROM alpine:3.20 as berkeleydb
33

44
RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
55
RUN apk --no-cache add autoconf
@@ -23,7 +23,7 @@ RUN make install
2323
RUN rm -rf ${BERKELEYDB_PREFIX}/docs
2424

2525
# Build stage for Bitcoin Core
26-
FROM alpine as bitcoin-core
26+
FROM alpine:3.20 as bitcoin-core
2727

2828
COPY --from=berkeleydb /opt /opt
2929

@@ -89,7 +89,7 @@ RUN strip ${BITCOIN_PREFIX}/lib/libbitcoinconsensus.a
8989
RUN strip ${BITCOIN_PREFIX}/lib/libbitcoinconsensus.so.0.0.0
9090

9191
# Build stage for compiled artifacts
92-
FROM alpine
92+
FROM alpine:3.20
9393

9494
ARG UID=100
9595
ARG GID=101

27/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage for BerkeleyDB
2-
FROM alpine as berkeleydb
2+
FROM alpine:3.20 as berkeleydb
33

44
RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
55
RUN apk --no-cache add autoconf
@@ -23,7 +23,7 @@ RUN make install
2323
RUN rm -rf ${BERKELEYDB_PREFIX}/docs
2424

2525
# Build stage for Bitcoin Core
26-
FROM alpine as bitcoin-core
26+
FROM alpine:3.20 as bitcoin-core
2727

2828
COPY --from=berkeleydb /opt /opt
2929

@@ -87,7 +87,7 @@ RUN strip ${BITCOIN_PREFIX}/bin/bitcoin-tx
8787
RUN strip ${BITCOIN_PREFIX}/bin/bitcoind
8888

8989
# Build stage for compiled artifacts
90-
FROM alpine
90+
FROM alpine:3.20
9191

9292
ARG UID=100
9393
ARG GID=101

28/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage for BerkeleyDB
2-
FROM alpine as berkeleydb
2+
FROM alpine:3.20 as berkeleydb
33

44
RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
55
RUN apk --no-cache add autoconf
@@ -23,7 +23,7 @@ RUN make install
2323
RUN rm -rf ${BERKELEYDB_PREFIX}/docs
2424

2525
# Build stage for Bitcoin Core
26-
FROM alpine as bitcoin-core
26+
FROM alpine:3.20 as bitcoin-core
2727

2828
COPY --from=berkeleydb /opt /opt
2929

@@ -87,7 +87,7 @@ RUN strip ${BITCOIN_PREFIX}/bin/bitcoin-tx
8787
RUN strip ${BITCOIN_PREFIX}/bin/bitcoind
8888

8989
# Build stage for compiled artifacts
90-
FROM alpine
90+
FROM alpine:3.20
9191

9292
ARG UID=100
9393
ARG GID=101

29/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage for BerkeleyDB
2-
FROM alpine as berkeleydb
2+
FROM alpine:3.20 as berkeleydb
33

44
RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
55
RUN apk --no-cache add autoconf
@@ -23,7 +23,7 @@ RUN make install
2323
RUN rm -rf ${BERKELEYDB_PREFIX}/docs
2424

2525
# Build stage for Bitcoin Core
26-
FROM alpine as bitcoin-core
26+
FROM alpine:3.20 as bitcoin-core
2727

2828
COPY --from=berkeleydb /opt /opt
2929

@@ -87,7 +87,7 @@ RUN strip ${BITCOIN_PREFIX}/bin/bitcoin-tx
8787
RUN strip ${BITCOIN_PREFIX}/bin/bitcoind
8888

8989
# Build stage for compiled artifacts
90-
FROM alpine
90+
FROM alpine:3.20
9191

9292
ARG UID=100
9393
ARG GID=101

0 commit comments

Comments
 (0)