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
6 changes: 4 additions & 2 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV IBC_VERSION=3.22.0

RUN apt-get update && \
apt-get install --no-install-recommends -y \
ca-certificates git libxtst6 libgtk-3-0 openbox procps python3 socat tigervnc-standalone-server unzip wget2 xterm \
ca-certificates git libxtst6 libgtk-3-0 openbox procps python3 socat tigervnc-standalone-server unzip wget2 xterm tint2 \
# https://github.com/extrange/ibkr-docker/issues/74
libasound2 \
libnss3 \
Expand Down Expand Up @@ -45,4 +45,6 @@ RUN mkdir -p ~/ibc && mv /opt/ibc/config.ini ~/ibc/config.ini

RUN chmod a+x ./*.sh /opt/ibc/*.sh /opt/ibc/scripts/*.sh

CMD [ "/start.sh" ]
RUN mkdir -p /root/.config/openbox && echo 'tint2 &' > /root/.config/openbox/autostart

CMD [ "/start.sh" ]
2 changes: 1 addition & 1 deletion image-files/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Xvnc -SecurityTypes None -AlwaysShared=1 -geometry 1920x1080 :0 &
./noVNC/utils/novnc_proxy --vnc localhost:5900 &

# Start openbox
openbox &
openbox-session &

# Start either TWS or IB Gateway
if [[ -z ${GATEWAY_OR_TWS:-} ]]; then
Expand Down