mirror of
https://github.com/Retropex/docker-bitcoind.git
synced 2025-05-24 11:02:32 +02:00
merge multiple installs into one
This commit is contained in:
parent
8c00920b3d
commit
52827bb217
@ -6,20 +6,24 @@ COPY --from=lncm/berkeleydb:db-4.8.30.NC /opt /opt
|
|||||||
|
|
||||||
# Replace `http:` repositories with `https:` ones
|
# Replace `http:` repositories with `https:` ones
|
||||||
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 automake
|
# install packages necessary to build Bitcoind
|
||||||
RUN apk --no-cache add boost-dev
|
RUN apk add --no-cache --update \
|
||||||
RUN apk --no-cache add build-base
|
autoconf \
|
||||||
RUN apk --no-cache add chrpath
|
automake \
|
||||||
RUN apk --no-cache add file
|
boost-dev \
|
||||||
RUN apk --no-cache add gnupg
|
build-base \
|
||||||
RUN apk --no-cache add libevent-dev
|
chrpath \
|
||||||
RUN apk --no-cache add libressl
|
file \
|
||||||
RUN apk --no-cache add libressl-dev
|
gnupg \
|
||||||
RUN apk --no-cache add libtool
|
libevent-dev \
|
||||||
RUN apk --no-cache add linux-headers
|
libressl \
|
||||||
RUN apk --no-cache add protobuf-dev
|
libressl-dev \
|
||||||
RUN apk --no-cache add zeromq-dev
|
libtool \
|
||||||
|
linux-headers \
|
||||||
|
protobuf-dev \
|
||||||
|
zeromq-dev
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& for key in \
|
&& for key in \
|
||||||
90C8019E36C2E964 \
|
90C8019E36C2E964 \
|
||||||
@ -85,13 +89,15 @@ LABEL maintainer.0="nolim1t (@nolim1t)" \
|
|||||||
# TODO: Eliminating the two RUN lines below is necessary to cross-compile…
|
# TODO: Eliminating the two RUN lines below is necessary to cross-compile…
|
||||||
# Replace `http:` repositories with `https:` ones
|
# Replace `http:` repositories with `https:` ones
|
||||||
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 \
|
|
||||||
boost \
|
RUN apk --no-cache --update \
|
||||||
boost-program_options \
|
add \
|
||||||
libevent \
|
boost \
|
||||||
libressl \
|
boost-program_options \
|
||||||
libzmq \
|
libevent \
|
||||||
su-exec
|
libressl \
|
||||||
|
libzmq \
|
||||||
|
su-exec
|
||||||
|
|
||||||
ENV BITCOIN_VERSION=0.18.0
|
ENV BITCOIN_VERSION=0.18.0
|
||||||
ENV BITCOIN_PREFIX=/opt/bitcoin-${BITCOIN_VERSION}
|
ENV BITCOIN_PREFIX=/opt/bitcoin-${BITCOIN_VERSION}
|
||||||
|
Loading…
Reference in New Issue
Block a user