Skip to content

Commit

Permalink
Bump to version 2.3.8 + Optimize Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cniweb committed Oct 18, 2023
1 parent 4c20622 commit ffbf7e7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
21 changes: 10 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ ENV WALLET_USER="LNec6RpZxX6Q1EJYkKjUPBTohM7Ux6uMUy"
ENV PASSWORD="c=LTC,ID=docker"
ENV EXTRAS="--api-enable --api-port 80 --disable-auto-affinity --disable-gpu"

RUN apt-get update && apt-get -y install wget xz-utils && \
cd /opt && \
wget https://github.com/doktor83/SRBMiner-Multi/releases/download/2.3.7/SRBMiner-Multi-2-3-7-Linux.tar.xz -O SRBMiner-Multi.tar.xz && \
tar xf SRBMiner-Multi.tar.xz && \
rm -rf /opt/SRBMiner-Multi.tar.xz && \
mv /opt/SRBMiner-Multi-2-3-7/ /opt/SRBMiner-Multi/ && \
apt-get -y purge xz-utils && \
apt-get -y autoremove --purge && \
apt-get -y clean && \
apt-get -y autoclean && \
rm -rf /var/lib/apt/lists/*
RUN apt-get update \
&& apt-get -y install curl xz-utils \
&& curl -L https://github.com/doktor83/SRBMiner-Multi/releases/download/2.3.8/SRBMiner-Multi-2-3-8-Linux.tar.xz -o SRBMiner-Multi.tar.xz \
&& tar xf SRBMiner-Multi.tar.xz \
&& rm -rf SRBMiner-Multi.tar.xz \
&& mv /opt/SRBMiner-Multi-2-3-8/ /opt/SRBMiner-Multi/ \
&& apt-get -y purge xz-utils \
&& apt-get -y autoremove --purge \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*

WORKDIR /opt/SRBMiner-Multi/
COPY start_zergpool.sh .
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
version="2.3.7"
version="2.3.8"
image="srbminer-multi"
docker build . --tag docker.io/cniweb/$image:$version
docker tag docker.io/cniweb/$image:$version docker.io/cniweb/$image:latest
Expand Down

0 comments on commit ffbf7e7

Please sign in to comment.