Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions docker/scripts/bootstrap_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/dockerClient.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down