2022-09-22 18:42:08 +00:00
|
|
|
FROM ubuntu:22.04 as og
|
2020-11-11 04:36:16 +00:00
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
2020-07-01 17:26:56 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2023-03-28 03:22:58 +00:00
|
|
|
RUN git clone https://git.wownero.com/wownero/wownero --depth=1 --branch=v0.11.0.1 .
|
2020-07-01 17:26:56 +00:00
|
|
|
|
2021-04-16 15:47:54 +00:00
|
|
|
RUN make -j4
|
2020-07-01 17:26:56 +00:00
|
|
|
|
2021-07-12 21:47:16 +00:00
|
|
|
FROM ubuntu:21.04
|
2020-07-01 17:26:56 +00:00
|
|
|
|
|
|
|
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/
|
2020-10-01 16:42:29 +00:00
|
|
|
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
|