Fix for Issue #150 - xmrig container not building

pull/167/head
Blade Doyle 2 years ago
parent 5ca9f968aa
commit 662e2b5ba0

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

@ -1,4 +1,4 @@
FROM ubuntu:latest FROM ubuntu:20.04
RUN set -e && \ RUN set -e && \
apt-get update -q -y --no-install-recommends && \ 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 / COPY --from=0 /usr/src/p2pool/build/p2pool /
RUN set -e && \ RUN set -e && \
@ -43,6 +43,7 @@ USER p2pool
EXPOSE 3333 EXPOSE 3333
EXPOSE 37889 EXPOSE 37889
EXPOSE 37888
VOLUME /home/p2pool/.p2pool VOLUME /home/p2pool/.p2pool

@ -46,7 +46,7 @@ docker-compose up
#### Uninstall #### Uninstall
Change to p2pool/docker-compose directory Change to p2pool/docker-compose directory <br />
Stop and remove all containers: ```docker-compose down``` Stop and remove all containers: ```docker-compose down``` <br />
Remove the p2pool data: ```docker volume rm p2pool``` Remove the p2pool data: ```docker volume rm p2pool``` <br />
Remove the monero data: ```docker volume rm monero``` Remove the monero data: ```docker volume rm monero```

@ -1,4 +1,4 @@
FROM ubuntu:latest FROM ubuntu:20.04
ARG MONERO_GIT_TAG="latest" ARG MONERO_GIT_TAG="latest"
RUN set -e && \ 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/* / COPY --from=0 /usr/src/monero/build/Linux/*/release/bin/* /

@ -1,4 +1,4 @@
FROM ubuntu:latest FROM ubuntu:20.04
RUN set -e && \ RUN set -e && \
apt-get update -q -y --no-install-recommends && \ 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 / COPY --from=0 /usr/src/xmrig/build/xmrig /

Loading…
Cancel
Save