diff --git a/Dockerfile b/Dockerfile index de6c43e..e84d615 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM debian:stable-slim RUN apt-get update && apt-get -y install wget xz-utils && \ - cd /opt && wget https://github.com/doktor83/SRBMiner-Multi/releases/download/1.0.4/SRBMiner-Multi-1-0-4-Linux.tar.xz && \ - tar xf SRBMiner-Multi-1-0-4-Linux.tar.xz && rm -rf /opt/SRBMiner-Multi-1-0-4-Linux.tar.xz && \ + cd /opt && wget https://github.com/doktor83/SRBMiner-Multi/releases/download/1.0.8/SRBMiner-Multi-1-0-8-Linux.tar.xz && \ + tar xf SRBMiner-Multi-1-0-8-Linux.tar.xz && rm -rf /opt/SRBMiner-Multi-1-0-8-Linux.tar.xz && \ apt-get -y purge xz-utils && apt-get -y autoremove --purge && apt-get -y clean && apt-get -y autoclean; rm -rf /var/lib/apt-get/lists/* ENV ALGO="minotaurx" ENV POOL_ADDRESS="stratum+tcp://minotaurx.na.mine.zergpool.com:7019" @@ -9,7 +9,7 @@ ENV WALLET_USER="LNec6RpZxX6Q1EJYkKjUPBTohM7Ux6uMUy" ENV PASSWORD="c=LTC,ID=docker" ENV EXTRAS="--api-enable --api-port 80 --disable-gpu --cpu-threads 4" EXPOSE 80 -COPY start_zergpool.sh /opt/SRBMiner-Multi-1-0-4/ -RUN chmod +x /opt/SRBMiner-Multi-1-0-4/start_zergpool.sh -WORKDIR "/opt/SRBMiner-Multi-1-0-4" +COPY start_zergpool.sh /opt/SRBMiner-Multi-1-0-8/ +RUN chmod +x /opt/SRBMiner-Multi-1-0-8/start_zergpool.sh +WORKDIR "/opt/SRBMiner-Multi-1-0-8" ENTRYPOINT ["./start_zergpool.sh"] \ No newline at end of file diff --git a/build.sh b/build.sh index 7a984f3..e83b204 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -version="1.0.4" +version="1.0.8" image="srbminer-multi" docker build . --tag docker.io/cniweb/$image:$version docker tag docker.io/cniweb/$image:$version docker.io/cniweb/$image:latest