mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-21 19:09:22 +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 \
|
||||
libpgm-dev \
|
||||
libnorm-dev \
|
||||
libgss-dev
|
||||
libgss-dev \
|
||||
libcurl4-openssl-dev
|
||||
|
||||
ADD . /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 \
|
||||
libzmq5 \
|
||||
libuv1 \
|
||||
libcurl4 \
|
||||
&& \
|
||||
apt-get clean
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ services:
|
|||
- 18080:18080/tcp
|
||||
volumes:
|
||||
- monero:/home/monero/.bitmonero:rw
|
||||
- /dev/null:/home/monero/.bitmonero/bitmonero.log:rw
|
||||
- /dev/hugepages:/dev/hugepages:rw
|
||||
restart: unless-stopped
|
||||
command: >-
|
||||
|
@ -37,7 +36,9 @@ services:
|
|||
--p2p-bind-port=18080
|
||||
--rpc-bind-ip=0.0.0.0
|
||||
--rpc-bind-port=18081
|
||||
--restricted-rpc
|
||||
--confirm-external-bind
|
||||
--log-file /dev/stdout
|
||||
${PRUNE_NODE}
|
||||
${MONERO_EXTRA_OPTIONS}
|
||||
|
||||
|
|
|
@ -63,7 +63,8 @@ RUN set -e && \
|
|||
DEBIAN_FRONTEND="noninteractive" apt-get install -q -y --no-install-recommends \
|
||||
libgssapi-krb5-2 \
|
||||
&& \
|
||||
apt-get clean
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt
|
||||
|
||||
RUN groupadd -r monero -g 1000 && \
|
||||
useradd -u 1000 -r -g monero -s /sbin/nologin -c "monero node user" monero
|
||||
|
|
Loading…
Reference in a new issue