mirror of
https://github.com/Retropex/docker-bitcoind.git
synced 2025-06-02 23:42:29 +02:00
simplify berkeleydb stage
This commit is contained in:
parent
7681224287
commit
38fa41e677
@ -1,11 +1,8 @@
|
|||||||
# Build stage for BerkeleyDB
|
|
||||||
FROM lncm/berkeleydb:db-4.8.30.NC AS berkeleydb
|
|
||||||
|
|
||||||
|
|
||||||
# Build stage for Bitcoin Core
|
# Build stage for Bitcoin Core
|
||||||
FROM alpine:3.9 AS bitcoin-core
|
FROM alpine:3.9 AS bitcoin-core
|
||||||
|
|
||||||
COPY --from=berkeleydb /opt /opt
|
# fetch already built berkeleydb
|
||||||
|
COPY --from=lncm/berkeleydb:db-4.8.30.NC /opt /opt
|
||||||
|
|
||||||
RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
|
RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
|
||||||
RUN apk --no-cache add autoconf
|
RUN apk --no-cache add autoconf
|
||||||
|
Loading…
Reference in New Issue
Block a user