mirror of
https://git.wownero.com/lza_menace/docker-wownero.git
synced 2024-08-15 01:03:31 +00:00
25 lines
818 B
Docker
25 lines
818 B
Docker
FROM ubuntu:20.04 as og
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
WORKDIR /opt/wownero
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
build-essential cmake pkg-config libboost-all-dev \
|
|
libssl-dev libzmq3-dev libunbound-dev libsodium-dev libpgm-dev git
|
|
|
|
RUN git clone https://git.wownero.com/wownero/wownero --depth=1 --branch=v0.9.2.0 .
|
|
|
|
RUN make -j2
|
|
|
|
#
|
|
|
|
FROM ubuntu:20.04
|
|
|
|
WORKDIR /data
|
|
|
|
# Copy static executables and libs from initial container
|
|
COPY --from=og /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/
|
|
COPY --from=og /opt/wownero/build/Linux/_no_branch_/release/bin/wownerod /bin/wownerod
|
|
COPY --from=og /opt/wownero/build/Linux/_no_branch_/release/bin/wownero-wallet-cli /bin/wownero-wallet-cli
|
|
COPY --from=og /opt/wownero/build/Linux/_no_branch_/release/bin/wownero-wallet-rpc /bin/wownero-wallet-rpc
|