simplify berkeleydb stage

This commit is contained in:
Damian Mee 2019-02-08 20:21:14 +07:00
parent 7681224287
commit 38fa41e677
No known key found for this signature in database
GPG Key ID: 2F961EAB8789725D

View File

@ -1,11 +1,8 @@
# Build stage for BerkeleyDB
FROM lncm/berkeleydb:db-4.8.30.NC AS berkeleydb
# Build stage for 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 apk --no-cache add autoconf