ajpierce / ib_tws_docker

A Docker container for running a headless Interactive Brokers' TWS instance whose API is exposed on port 4001
33 stars 21 forks source link

Installation issue #6

Open bhanuc opened 8 years ago

bhanuc commented 8 years ago

I am getting the following issue on running the build command: Finishing installation ... mv: cannot stat '/root/Jts/954': No such file or directory ERROR: Service 'tws' failed to build: The command '/bin/sh -c cd /tmp && wget https://github.com/ib-controller/ib-controller/releases/download/2.14.0/IBController-2.14.0.zip && unzip IBController-2.14.0.zip -d /opt/IBController && wget https://download2.interactivebrokers.com/installers/tws/latest-standalone/tws-latest-standalone-linux-x64.sh && chmod +x tws-latest-standalone-linux-x64.sh && echo "n" | ./tws-latest-standalone-linux-x64.sh && rm -rf /tmp/* && mv /root/Jts/954 /opt/IBJts' returned a non-zero code: 1 Any ideas/help would be highly appreciated. Thanks

skorokithakis commented 7 years ago

Change 954 in the Dockerfile to 966 (the current version).

skorokithakis commented 7 years ago

Better yet, change it to:

mv /root/Jts/???/ /opt/IBJts

so it will work for any three-digit version.