mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 03:19:23 +00:00
Fix for Issue #150 - xmrig container not building
This commit is contained in:
parent
5ca9f968aa
commit
662e2b5ba0
5 changed files with 11 additions and 9 deletions
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
@ -0,0 +1 @@
|
|||
**/build
|
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:latest
|
||||
FROM ubuntu:20.04
|
||||
|
||||
RUN set -e && \
|
||||
apt-get update -q -y --no-install-recommends && \
|
||||
|
@ -24,7 +24,7 @@ RUN git submodule update --init --recursive && \
|
|||
|
||||
# ---
|
||||
|
||||
FROM ubuntu:latest
|
||||
FROM ubuntu:20.04
|
||||
COPY --from=0 /usr/src/p2pool/build/p2pool /
|
||||
|
||||
RUN set -e && \
|
||||
|
@ -43,6 +43,7 @@ USER p2pool
|
|||
|
||||
EXPOSE 3333
|
||||
EXPOSE 37889
|
||||
EXPOSE 37888
|
||||
|
||||
VOLUME /home/p2pool/.p2pool
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ docker-compose up
|
|||
|
||||
|
||||
#### Uninstall
|
||||
Change to p2pool/docker-compose directory
|
||||
Stop and remove all containers: ```docker-compose down```
|
||||
Remove the p2pool data: ```docker volume rm p2pool```
|
||||
Change to p2pool/docker-compose directory <br />
|
||||
Stop and remove all containers: ```docker-compose down``` <br />
|
||||
Remove the p2pool data: ```docker volume rm p2pool``` <br />
|
||||
Remove the monero data: ```docker volume rm monero```
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:latest
|
||||
FROM ubuntu:20.04
|
||||
ARG MONERO_GIT_TAG="latest"
|
||||
|
||||
RUN set -e && \
|
||||
|
@ -54,7 +54,7 @@ RUN git clone --recursive https://github.com/monero-project/monero && \
|
|||
|
||||
# ---
|
||||
|
||||
FROM ubuntu:latest
|
||||
FROM ubuntu:20.04
|
||||
|
||||
COPY --from=0 /usr/src/monero/build/Linux/*/release/bin/* /
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:latest
|
||||
FROM ubuntu:20.04
|
||||
|
||||
RUN set -e && \
|
||||
apt-get update -q -y --no-install-recommends && \
|
||||
|
@ -20,7 +20,7 @@ RUN git clone https://github.com/xmrig/xmrig.git && \
|
|||
|
||||
# ---
|
||||
|
||||
FROM ubuntu:latest
|
||||
FROM ubuntu:20.04
|
||||
|
||||
COPY --from=0 /usr/src/xmrig/build/xmrig /
|
||||
|
||||
|
|
Loading…
Reference in a new issue