Skip to content

Commit 5cba110

Browse files
Add missing IB dependencies (#8615)
1 parent 88b32b8 commit 5cba110

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

DockerfileLeanFoundation

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,13 @@ RUN apt-get update && apt install -y xvfb wkhtmltopdf && \
341341
RUN wget -q https://cdn.quantconnect.com/fonts/foundation.zip && unzip -q foundation.zip && rm foundation.zip \
342342
&& mv "lean fonts/"* /usr/share/fonts/truetype/ && rm -rf "lean fonts/" "__MACOSX/"
343343

344-
# Install IB Gateway: Installs to /root/ibgateway
345-
RUN mkdir -p /root/ibgateway && \
346-
wget -q https://cdn.quantconnect.com/interactive/ibgateway-stable-standalone-linux-x64.v10.30.1t.sh && \
347-
chmod 777 ibgateway-stable-standalone-linux-x64.v10.30.1t.sh && \
348-
./ibgateway-stable-standalone-linux-x64.v10.30.1t.sh -q -dir /root/ibgateway && \
349-
rm ibgateway-stable-standalone-linux-x64.v10.30.1t.sh
344+
# Install IB Gateway and it's dependencies: Installs to /root/ibgateway
345+
RUN apt-get update && apt-get -y install libasound2 libnss3 libnspr4 && apt-get clean && apt-get autoclean && apt-get autoremove --purge -y && rm -rf /var/lib/apt/lists/* && \
346+
mkdir -p /root/ibgateway && \
347+
wget -q https://cdn.quantconnect.com/interactive/ibgateway-stable-standalone-linux-x64.v10.30.1u.sh && \
348+
chmod 777 ibgateway-stable-standalone-linux-x64.v10.30.1u.sh && \
349+
./ibgateway-stable-standalone-linux-x64.v10.30.1u.sh -q -dir /root/ibgateway && \
350+
rm ibgateway-stable-standalone-linux-x64.v10.30.1u.sh
350351

351352
# label definitions
352353
LABEL strict_python_version=3.11.11

0 commit comments

Comments
 (0)