Skip to content

Commit

Permalink
braindead -- of course we need XVFB
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankennedyio committed Dec 17, 2016
1 parent cd502ed commit 370279b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Expand Up @@ -41,8 +41,8 @@ RUN yes n | /opt/TWS/ibgateway-latest-standalone-linux-x64-v960.2a.sh
#CMD yes

# Launch a virtual screen
#RUN Xvfb :1 -screen 0 1024x768x24 2>&1 >/dev/null &
#RUN export DISPLAY=:1
RUN Xvfb :1 -screen 0 1024x768x24 2>&1 >/dev/null &
RUN export DISPLAY=:1

ADD runscript.sh runscript.sh
CMD bash runscript.sh
2 changes: 1 addition & 1 deletion runscript.sh
@@ -1,6 +1,6 @@
#!/bin/bash

/opt/IBController/Scripts/DisplayBannerAndLaunch.sh &
xvfb-run -a /opt/IBController/Scripts/DisplayBannerAndLaunch.sh &
# Tail latest in log dir
sleep 1
tail -f $(find $LOG_PATH -maxdepth 1 -type f -printf "%T@ %p\n" | sort -n | tail -n 1 | cut -d' ' -f 2-) &
Expand Down

0 comments on commit 370279b

Please sign in to comment.