mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-16 07:47:40 +00:00
Add libcurl to p2pool Dockerfile; adjust a few monerod options
This commit is contained in:
parent
921cbb0b69
commit
d79fefe546
3 changed files with 7 additions and 3 deletions
|
@ -12,7 +12,8 @@ RUN set -e && \
|
||||||
libsodium-dev \
|
libsodium-dev \
|
||||||
libpgm-dev \
|
libpgm-dev \
|
||||||
libnorm-dev \
|
libnorm-dev \
|
||||||
libgss-dev
|
libgss-dev \
|
||||||
|
libcurl4-openssl-dev
|
||||||
|
|
||||||
ADD . /usr/src/p2pool
|
ADD . /usr/src/p2pool
|
||||||
WORKDIR /usr/src/p2pool
|
WORKDIR /usr/src/p2pool
|
||||||
|
@ -32,6 +33,7 @@ RUN set -e && \
|
||||||
DEBIAN_FRONTEND="noninteractive" apt-get install -q -y --no-install-recommends \
|
DEBIAN_FRONTEND="noninteractive" apt-get install -q -y --no-install-recommends \
|
||||||
libzmq5 \
|
libzmq5 \
|
||||||
libuv1 \
|
libuv1 \
|
||||||
|
libcurl4 \
|
||||||
&& \
|
&& \
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,6 @@ services:
|
||||||
- 18080:18080/tcp
|
- 18080:18080/tcp
|
||||||
volumes:
|
volumes:
|
||||||
- monero:/home/monero/.bitmonero:rw
|
- monero:/home/monero/.bitmonero:rw
|
||||||
- /dev/null:/home/monero/.bitmonero/bitmonero.log:rw
|
|
||||||
- /dev/hugepages:/dev/hugepages:rw
|
- /dev/hugepages:/dev/hugepages:rw
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: >-
|
command: >-
|
||||||
|
@ -37,7 +36,9 @@ services:
|
||||||
--p2p-bind-port=18080
|
--p2p-bind-port=18080
|
||||||
--rpc-bind-ip=0.0.0.0
|
--rpc-bind-ip=0.0.0.0
|
||||||
--rpc-bind-port=18081
|
--rpc-bind-port=18081
|
||||||
|
--restricted-rpc
|
||||||
--confirm-external-bind
|
--confirm-external-bind
|
||||||
|
--log-file /dev/stdout
|
||||||
${PRUNE_NODE}
|
${PRUNE_NODE}
|
||||||
${MONERO_EXTRA_OPTIONS}
|
${MONERO_EXTRA_OPTIONS}
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,8 @@ RUN set -e && \
|
||||||
DEBIAN_FRONTEND="noninteractive" apt-get install -q -y --no-install-recommends \
|
DEBIAN_FRONTEND="noninteractive" apt-get install -q -y --no-install-recommends \
|
||||||
libgssapi-krb5-2 \
|
libgssapi-krb5-2 \
|
||||||
&& \
|
&& \
|
||||||
apt-get clean
|
apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt
|
||||||
|
|
||||||
RUN groupadd -r monero -g 1000 && \
|
RUN groupadd -r monero -g 1000 && \
|
||||||
useradd -u 1000 -r -g monero -s /sbin/nologin -c "monero node user" monero
|
useradd -u 1000 -r -g monero -s /sbin/nologin -c "monero node user" monero
|
||||||
|
|
Loading…
Reference in a new issue