Skip to content

Commit b8d49a2

Browse files
authored
ensure that libGL is found
1 parent 73deb1b commit b8d49a2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt-get update -y
66

77
RUN apt-get install wget zip unzip software-properties-common gcc g++ make -y
88

9-
RUN apt-get update -y && add-apt-repository ppa:deadsnakes/ppa && apt update -y && apt install python3.7 python3.7-venv python3.7-dev python3-setuptools -y
9+
RUN apt-get update -y && add-apt-repository ppa:deadsnakes/ppa && apt update -y && apt install python3.7 python3.7-venv python3.7-dev python3-setuptools ffmpeg libsm6 libxext6 -y
1010

1111
# We will do git pull on the FeTS_Front-End master, because that is the repo using which the base image is made
1212
# We will not do compiles on the PR because the idea is that the Xenial build will check the build status of
@@ -20,8 +20,8 @@ RUN wget https://fets.projects.nitrc.org/FeTS_${VERSION}_Installer.bin && chmod
2020
# install FeTS and remove installer
2121
RUN yes yes | ./FeTS_${VERSION}_Installer.bin --target ./FeTS_${VERSION} -- --cudaVersion 11 && rm -rf ./FeTS_${VERSION}_Installer.bin
2222

23-
ENV PATH=./FeTS_${VERSION}/squashfs-root/usr/bin/:$PATH
24-
ENV LD_LIBRARY_PATH=./FeTS_${VERSION}/squashfs-root/usr/lib/:$LD_LIBRARY_PATH
23+
ENV PATH=/workspace/FeTS_${VERSION}/squashfs-root/usr/bin/:$PATH
24+
ENV LD_LIBRARY_PATH=/workspace/FeTS_${VERSION}/squashfs-root/usr/lib/:$LD_LIBRARY_PATH
2525

2626
# set up environment and install correct version of pytorch
2727
RUN cd ./FeTS_${VERSION}/squashfs-root/usr/bin/OpenFederatedLearning && \
@@ -51,5 +51,7 @@ RUN cd ./FeTS_${VERSION}/squashfs-root/usr/bin/OpenFederatedLearning && \
5151
ENV QT_X11_NO_MITSHM=1
5252
ENV QT_GRAPHICSSYSTEM="native"
5353

54+
RUN echo "Env paths\n" && echo $PATH && echo $LD_LIBRARY_PATH
55+
5456
# define entry point
5557
ENTRYPOINT ["/workspace/FeTS_0.0.9/squashfs-root/usr/bin/FeTS_CLI_Inference"]

0 commit comments

Comments
 (0)