diff --git a/dockerfiles/wownerod_compile_simple b/dockerfiles/wownerod_compile_simple index 7628e54..584830e 100644 --- a/dockerfiles/wownerod_compile_simple +++ b/dockerfiles/wownerod_compile_simple @@ -8,16 +8,20 @@ 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.11.0.1 . +RUN git clone https://git.wownero.com/wownero/wownero --depth=1 --branch=v0.11.0.3 . RUN make -j4 -FROM ubuntu:21.04 +RUN cp /opt/wownero/build/Linux/_no_branch_/release/bin/* /bin/ -WORKDIR /data +# FROM ubuntu:21.04 -# 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 +# 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 + +RUN whoami \ No newline at end of file diff --git a/release.sh b/release.sh index c2c8205..a716ca2 100755 --- a/release.sh +++ b/release.sh @@ -17,7 +17,7 @@ then docker build -t "${TAG}" -f dockerfiles/wownerod_nocompile . else echo -e "[+] Building container by compiling binaries" - docker build -t "${TAG}" . + docker build -t "${TAG}" -f dockerfiles/wownerod_compile_simple . fi docker tag "${TAG}" "${BASE}:latest"