Fix for Issue #150 - xmrig container not building

This commit is contained in:
Blade Doyle 2022-06-01 10:44:55 -07:00
parent 5ca9f968aa
commit 662e2b5ba0
5 changed files with 11 additions and 9 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
**/build

View file

@ -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

View file

@ -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```

View file

@ -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/* /

View file

@ -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 /