You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
359 B
Docker
17 lines
359 B
Docker
FROM ubuntu:19.10
|
|
|
|
RUN \
|
|
apt-get update \
|
|
&& apt-get install -y git build-essential cmake libuv1-dev libssl-dev libhwloc-dev \
|
|
&& git clone https://github.com/xmrig/xmrig.git /root/xmrig \
|
|
&& mkdir /root/xmrig/build \
|
|
&& cd /root/xmrig/build \
|
|
&& cmake .. \
|
|
&& make
|
|
|
|
COPY start_mining .
|
|
|
|
RUN chmod +x start_mining
|
|
|
|
ENTRYPOINT ["./start_mining"]
|