Spaces:
Paused
Paused
Download Dockerfile from Minacrypto/Prueba: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/spaces/Minacrypto/Prueba/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Minacrypto/Prueba/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Minacrypto/Prueba/resolve/main/Dockerfile
1.05 kB
| FROM ubuntu:24.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| build-essential \ | |
| cmake \ | |
| automake \ | |
| autoconf \ | |
| libtool \ | |
| pkg-config \ | |
| libssl-dev \ | |
| libhwloc-dev \ | |
| libuv1-dev \ | |
| libjansson-dev \ | |
| libcurl4-openssl-dev \ | |
| libgmp-dev \ | |
| wget \ | |
| ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /src | |
| # -------------------------------------------------- | |
| # XMRig: RandomX + GhostRider | |
| # -------------------------------------------------- | |
| RUN git clone --depth 1 https://github.com/xmrig/xmrig.git xmrig \ | |
| && mkdir xmrig/build \ | |
| && cd xmrig/build \ | |
| && cmake .. -DWITH_HWLOC=ON \ | |
| && make -j$(nproc) | |
| # -------------------------------------------------- | |
| # VerusHash CPU miner | |
| # -------------------------------------------------- | |
| RUN git clone --depth 1 https://github.com/monkins1010/ccminer.git ccminer \ | |
| && cd ccminer \ | |
| && ./build.sh | |
| COPY benchmark.sh /benchmark.sh | |
| RUN chmod +x /benchmark.sh | |
| WORKDIR / | |
| CMD ["/benchmark.sh"] |