However, I got an image running just fine with the following file.
FROM ubuntu:18.04
# needed for install script
ENV TERM dumb
RUN apt-get update \
&& apt-get install -y wget \
git \
python3-pip python3-dev build-essential
RUN wget https://github.com/EOSIO/eos/releases/download/v1.5.5/eosio_1.5.5-1-ubuntu-18.04_amd64.deb
RUN apt-get install -y ./eosio_1.5.5-1-ubuntu-18.04_amd64.deb
RUN wget https://github.com/EOSIO/eosio.cdt/releases/download/v1.5.0/eosio.cdt_1.5.0-1_amd64.deb
RUN apt-get install -y ./eosio.cdt_1.5.0-1_amd64.deb
WORKDIR /home
RUN mkdir contracts
WORKDIR /
RUN git clone https://github.com/tokenika/eosfactory.git
WORKDIR /eosfactory
RUN echo "{ \"EOSIO_CONTRACT_WORKSPACE\": \"/home/contracts\"}" > config.json
# The echo will simulate pressing enter on the keyboard
RUN echo | ./install.sh
Then just run python3 tests/01_hello_world.py. If it hangs, CTRL+C and run it again. Not sure why it hangs either.
In the documentation it states
However, I got an image running just fine with the following file.
Then just run
python3 tests/01_hello_world.py
. If it hangs,CTRL+C
and run it again. Not sure why it hangs either.