|
|
@ -1,5 +1,7 @@
|
|
|
|
FROM ubuntu:19.10 as og
|
|
|
|
FROM ubuntu:19.10 as og
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ARG threads
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /opt/monero
|
|
|
|
WORKDIR /opt/monero
|
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
@ -10,7 +12,7 @@ RUN git clone https://github.com/monero-project/monero --branch=v0.17.0.1 --dept
|
|
|
|
|
|
|
|
|
|
|
|
RUN git submodule update --init --force
|
|
|
|
RUN git submodule update --init --force
|
|
|
|
|
|
|
|
|
|
|
|
RUN make -j1
|
|
|
|
RUN make -j$threads
|
|
|
|
|
|
|
|
|
|
|
|
FROM ubuntu:19.10
|
|
|
|
FROM ubuntu:19.10
|
|
|
|
|
|
|
|
|
|
|
@ -31,5 +33,3 @@ EXPOSE 18080
|
|
|
|
EXPOSE 18081
|
|
|
|
EXPOSE 18081
|
|
|
|
EXPOSE 18082
|
|
|
|
EXPOSE 18082
|
|
|
|
EXPOSE 18083
|
|
|
|
EXPOSE 18083
|
|
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["monerod", "--data-dir=/data", "--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=18080", "--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=18083", "--zmq-rpc-bind-ip=0.0.0.0", "--zmq-rpc-bind-port=18082", "--non-interactive", "--confirm-external-bind", "--public-node", "--rpc-restricted-bind-port=18081", "--log-level=0"]
|
|
|
|
|
|
|
|