mirror of
https://github.com/metal3d/docker-xmrig.git
synced 2024-09-11 13:15:29 +03:00
A bit of cleanup
This commit is contained in:
parent
85cf1bffbc
commit
936bcfdf09
@ -27,7 +27,6 @@ LABEL maintainer="Patrice Ferlet <metal3d@gmail.com>"
|
||||
|
||||
RUN set -xe; \
|
||||
apt update; \
|
||||
#apt -y install wget jq git build-essential cmake automake libtool autoconf; \
|
||||
apt install -y wget build-essential cmake automake libtool autoconf; \
|
||||
apt install -y gcc-9 g++-9; \
|
||||
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100; \
|
||||
|
@ -90,8 +90,6 @@ fi
|
||||
|
||||
OTHERS_OPTS=$OTHERS_OPTS" -p ${WORKERNAME}"
|
||||
|
||||
cat config.json
|
||||
|
||||
if [ "${CUDA}" == "true" ]; then
|
||||
OTHERS_OPTS=$OTHERS_OPTS" --cuda"
|
||||
jq '.cuda.enabled = true' config.json > config.json.tmp && mv config.json.tmp config.json
|
||||
|
Loading…
Reference in New Issue
Block a user