bumping to latest release, minor refactor of no_compile dockerfile
This commit is contained in:
@@ -66,4 +66,4 @@ services:
|
|||||||
- 127.0.0.1:${ZMQ_PORT:-18082}:18082 # zmq
|
- 127.0.0.1:${ZMQ_PORT:-18082}:18082 # zmq
|
||||||
- 127.0.0.1:${UNRESTRICTED_PORT:-18083}:18083 # unrestricted rpc
|
- 127.0.0.1:${UNRESTRICTED_PORT:-18083}:18083 # unrestricted rpc
|
||||||
command:
|
command:
|
||||||
monerod --data-dir=/data --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-restricted-bind-ip=0.0.0.0 --rpc-restricted-bind-port=18081 --zmq-rpc-bind-ip=0.0.0.0 --zmq-rpc-bind-port=18082 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18083 --non-interactive --confirm-external-bind --public-node --log-level=0
|
monerod --data-dir=/data --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-restricted-bind-ip=0.0.0.0 --rpc-restricted-bind-port=18081 --zmq-rpc-bind-ip=0.0.0.0 --zmq-rpc-bind-port=18082 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18083 --non-interactive --confirm-external-bind --public-node --log-level=0
|
||||||
|
|||||||
@@ -55,8 +55,6 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: dockerfiles
|
context: dockerfiles
|
||||||
dockerfile: monero_nocompile
|
dockerfile: monero_nocompile
|
||||||
args:
|
|
||||||
threads: ${THREADS:-1}
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_DIR:-./data}:/data
|
- ${DATA_DIR:-./data}:/data
|
||||||
@@ -66,4 +64,4 @@ services:
|
|||||||
- 127.0.0.1:${ZMQ_PORT:-18082}:18082 # zmq
|
- 127.0.0.1:${ZMQ_PORT:-18082}:18082 # zmq
|
||||||
- 127.0.0.1:${UNRESTRICTED_PORT:-18083}:18083 # unrestricted rpc
|
- 127.0.0.1:${UNRESTRICTED_PORT:-18083}:18083 # unrestricted rpc
|
||||||
command:
|
command:
|
||||||
monerod --data-dir=/data --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-restricted-bind-ip=0.0.0.0 --rpc-restricted-bind-port=18081 --zmq-rpc-bind-ip=0.0.0.0 --zmq-rpc-bind-port=18082 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18083 --non-interactive --confirm-external-bind --public-node --log-level=0 --ban-list=/tmp/block.txt
|
monerod --data-dir=/data --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-restricted-bind-ip=0.0.0.0 --rpc-restricted-bind-port=18081 --zmq-rpc-bind-ip=0.0.0.0 --zmq-rpc-bind-port=18082 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18083 --non-interactive --confirm-external-bind --public-node --log-level=0
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
build-essential cmake pkg-config libboost-all-dev \
|
build-essential cmake pkg-config libboost-all-dev \
|
||||||
libssl-dev libzmq3-dev libunbound-dev libsodium-dev libpgm-dev git
|
libssl-dev libzmq3-dev libunbound-dev libsodium-dev libpgm-dev git
|
||||||
|
|
||||||
RUN git clone https://github.com/monero-project/monero --branch=v0.17.1.7 --depth=1 .
|
RUN git clone https://github.com/monero-project/monero --branch=v0.17.1.8 --depth=1 .
|
||||||
|
|
||||||
RUN git submodule update --init --force
|
RUN git submodule update --init --force
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM ubuntu:20.04
|
FROM ubuntu:20.04
|
||||||
|
|
||||||
ENV MONERO_HASH 98ce0d22db0d1112114bbad4c9773d1490d30e5c643423c2e5bffc19553207f9
|
ENV MONERO_HASH b566652c5281970c6137c27dd15002fe6d4c9230bc37d81545b2f36c16e7d476
|
||||||
ENV MONERO_DL_URL https://downloads.getmonero.org/cli/monero-linux-x64-v0.17.1.7.tar.bz2
|
ENV MONERO_DL_URL https://downloads.getmonero.org/cli/monero-linux-x64-v0.17.1.8.tar.bz2
|
||||||
ENV MONERO_DL_FILE monero.tar.bz2
|
ENV MONERO_DL_FILE monero.tar.bz2
|
||||||
ENV MONERO_SUMS_FILE sha256sums
|
ENV MONERO_SUMS_FILE sha256sums
|
||||||
|
|
||||||
@@ -15,8 +15,9 @@ WORKDIR /opt/monero
|
|||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
&& apt-get install -y tar wget \
|
&& apt-get install -y tar wget
|
||||||
&& wget -qO ${MONERO_DL_FILE} ${MONERO_DL_URL} \
|
|
||||||
|
RUN wget -qO ${MONERO_DL_FILE} ${MONERO_DL_URL} \
|
||||||
&& echo "${MONERO_HASH} ${MONERO_DL_FILE}" > ${MONERO_SUMS_FILE} \
|
&& echo "${MONERO_HASH} ${MONERO_DL_FILE}" > ${MONERO_SUMS_FILE} \
|
||||||
&& sha256sum -c ${MONERO_SUMS_FILE}; \
|
&& sha256sum -c ${MONERO_SUMS_FILE}; \
|
||||||
if [ "$?" -eq 0 ]; \
|
if [ "$?" -eq 0 ]; \
|
||||||
@@ -33,7 +34,7 @@ RUN apt-get update \
|
|||||||
|
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
|
|
||||||
RUN wget https://gui.xmr.pm/files/block.txt -O /tmp/block.txt -q
|
RUN wget https://gui.xmr.pm/files/block.txt -q
|
||||||
|
|
||||||
EXPOSE 18080
|
EXPOSE 18080
|
||||||
EXPOSE 18081
|
EXPOSE 18081
|
||||||
|
|||||||
Reference in New Issue
Block a user