Skip to content

Commit

Permalink
fix: setup yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsm-dev committed Apr 5, 2024
1 parent 2f87715 commit 6c5171c
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ RUN apk add --no-cache git make cmake libstdc++ gcc g++ automake libtool autocon

WORKDIR /tmp/install

RUN git clone --single-branch --depth 1 --branch=$XMRIG_VERSION $XMRIG_URL \
RUN git clone --single-branch --depth 1 --branch="$XMRIG_VERSION" "$XMRIG_URL" \
&& cd xmrig \
&& mkdir -p build \
&& sed -i 's/kDefaultDonateLevel = 1;/kDefaultDonateLevel = 0;/; s/kMinimumDonateLevel = 1;/kMinimumDonateLevel = 0;/;' src/donate.h \
&& cd scripts \
&& ./build_deps.sh \
&& cd ../build \
&& if [[ "$(uname -m)" == *"aarch64"* ]]; then XMRIG_BUILD_ARGS="$XMRIG_BUILD_ARGS -DWITH_HWLOC=OFF -DCMAKE_SYSTEM_PROCESSOR=arm"; fi \
&& cmake .. $XMRIG_BUILD_ARGS \
&& cmake .. "$XMRIG_BUILD_ARGS" \
&& make -j$(nproc)

# Stage 2: Copy XMRig binary into a smaller image
Expand Down

0 comments on commit 6c5171c

Please sign in to comment.