diff --git a/Dockerfile b/Dockerfile index c390d06..f15abfa 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.2/SRBMiner-Multi-1-0-2-Linux.tar.xz && \ - tar xf SRBMiner-Multi-1-0-2-Linux.tar.xz && rm -rf /opt/SRBMiner-Multi-1-0-2-Linux.tar.xz && \ + cd /opt && wget https://github.com/doktor83/SRBMiner-Multi/releases/download/1.0.3/SRBMiner-Multi-1-0-3-Linux.tar.xz && \ + tar xf SRBMiner-Multi-1-0-3-Linux.tar.xz && rm -rf /opt/SRBMiner-Multi-1-0-3-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-2/ -RUN chmod +x /opt/SRBMiner-Multi-1-0-2/start_zergpool.sh -WORKDIR "/opt/SRBMiner-Multi-1-0-2" +COPY start_zergpool.sh /opt/SRBMiner-Multi-1-0-3/ +RUN chmod +x /opt/SRBMiner-Multi-1-0-3/start_zergpool.sh +WORKDIR "/opt/SRBMiner-Multi-1-0-3" ENTRYPOINT ["./start_zergpool.sh"] \ No newline at end of file diff --git a/build.sh b/build.sh index 86084c9..d1fb051 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -version="1.0.2" +version="1.0.3" image="srbminer-multi" docker build . --tag docker.io/cniweb/$image:$version docker tag docker.io/cniweb/$image:$version docker.io/cniweb/$image:latest