Comments (5)
Can you provide some instructions how setup developer environment, install compiler, cmake, libuv on Alpine Linux. It can speed up process because I was never work with that Linux.
Thank you.
from xmrig.
What I have done to install xmrig on Alpine linux manually
# apk add openssl-dev curl-dev git cmake libuv-dev build-base
# git clone https://github.com/xmrig/xmrig
# cd xmrig
# mkdir build
# cmake -DCMAKE_BUILD_TYPE=Release .
# make
To use the Dockerfile copy or download the following and run docker build --rm .
in the same folder.
https://raw.githubusercontent.com/b-i-t-n/alpine-xmrig/master/Dockerfile
FROM alpine:latest
RUN adduser -S -D -H -h /xmrig miner
RUN apk --no-cache upgrade && \
apk --no-cache add \
openssl-dev \
curl-dev \
git \
cmake \
libuv-dev \
build-base && \
git clone https://github.com/xmrig/xmrig && \
cd xmrig && \
mkdir build && \
cmake -DCMAKE_BUILD_TYPE=Release . && \
make && \
apk del \
build-base \
cmake \
git
USER miner
WORKDIR /xmrig
ENTRYPOINT ["./xmrig"]
from xmrig.
I probably do not need some of the packages as you do not support TLS or HTTP.
from xmrig.
Yes openssl-dev and curl-dev not required. Okay I will check it later.
Thank you.
from xmrig.
I fixed it, just one include was missing.
from xmrig.
Related Issues (20)
- Custom API output HOT 1
- Building on alpine linux resulted in "Could not find OpenSSL" error
- Failed to apply MSR mod (Linux Mint) HOT 2
- run as administrator doesnt work HOT 11
- low hashrate help HOT 2
- Integrate ZLUDA for AMD CUDA mining HOT 7
- "--cpu-priority=0" still not being honored. HOT 8
- Compile error ubuntu 22.04, recompile with fpie HOT 3
- Failed to set MSR on Ubuntu Zen4 laptop HOT 2
- Read error : "end of file HOT 6
- dependencies missing from ubuntu build-from-source documentation HOT 1
- Debian Testing build => free() invalid pointer HOT 6
- New Algo: ProgPoWZ
- After terminating xmrig (ran as superuser) RAM does not get freed. HOT 18
- how to HOT 2
- Invalid wallet address
- make[2]: *** [CMakeFiles/xmrig.dir/src/base/net/stratum/Job.cpp.o] Error 1 HOT 1
- add“aurum” HOT 1
- Buggy Fresh: Not sure what this bug is, but it's certainly more bug than any bug I've bugged, rebugged, de bugged, he bugged, wee bugged, tree hugg3rd shruggered hippie fugger trick ass, cherry luggered, Jerry plundered wondered hundreds
- Threadripper 2990WX, still very bad perf HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmrig.