diff --git a/docker/Dockerfile b/docker/Dockerfile index 6c1347d..df79267 100755 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -13,7 +13,7 @@ COPY ./entrypoint.sh /app/ RUN ./scripts/bootstrap_env.sh # Install libfaketime for time manipulation -RUN git clone https://github.com/wolfcw/libfaketime.git && cd libfaketime && make install +RUN git clone https://github.com/wolfcw/libfaketime.git && cd libfaketime && git checkout 7e9d69b98fe47e57769563548ede9c911d4ba941 && make install RUN rm -rf libfaketime RUN cd /app && chmod +x *.sh diff --git a/docker/scripts/bootstrap_env.sh b/docker/scripts/bootstrap_env.sh index 38ac07b..6bd7904 100755 --- a/docker/scripts/bootstrap_env.sh +++ b/docker/scripts/bootstrap_env.sh @@ -4,16 +4,16 @@ ARCH=`uname -m` if [ "${ARCH}" = "x86_64" ]; then # install wax blockchain - wget https://github.com/worldwide-asset-exchange/wax-blockchain/releases/download/v4.0.5wax01/wax-leap_4.0.5wax01-ubuntu20.04_amd64.deb - apt install ./wax-leap_4.0.5wax01-ubuntu20.04_amd64.deb - rm -rf wax-leap_4.0.5wax01-ubuntu20.04_amd64.deb + wget https://github.com/worldwide-asset-exchange/wax-blockchain/releases/download/v3.2.5wax01/wax-leap_3.2.5wax01-ubuntu20.04_amd64.deb + apt install ./wax-leap_3.2.5wax01-ubuntu20.04_amd64.deb + rm -rf wax-leap_3.2.5wax01-ubuntu20.04_amd64.deb mkdir /usr/local/bin/wax mv /usr/local/bin/nodeos /usr/local/bin/wax mv /usr/local/bin/cleos /usr/local/bin/wax mv /usr/local/bin/keosd /usr/local/bin/wax # install leap - wget https://github.com/quocle108/leap-binaries/releases/download/v4.0.4/leap_4.0.4-ubuntu20.04_amd64.deb - apt install -y ./leap_4.0.4-ubuntu20.04_amd64.deb + wget https://github.com/AntelopeIO/leap/releases/download/v3.2.5/leap_3.2.5-ubuntu20.04_amd64.deb + apt install -y ./leap_3.2.5-ubuntu20.04_amd64.deb rm -rf leap_4.0.4-ubuntu20.04_amd64.deb else wget https://github.com/quocle108/leap-binaries/releases/download/v4.0.4/leap_4.0.4_darwin-arm64.deb diff --git a/src/dockerClient.ts b/src/dockerClient.ts index 808297b..099d851 100644 --- a/src/dockerClient.ts +++ b/src/dockerClient.ts @@ -1,5 +1,5 @@ import { execSync } from "child_process"; -const dockerImageName = "songmai108/qtest:v4.0.4"; +const dockerImageName = "songmai108/qtest:v3.2.5"; function execute(command, ignoreFail = false) { try {