diff --git a/Dockerfile b/Dockerfile index f32e26072511d4d477d86159b44f5f559c54147e..f2066db5af035023ec00b04055d9c9aacede25ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,10 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y \ - zip \ curl \ jq \ - unzip \ + libgomp1 \ libglu1-mesa \ - qt6-base-dev \ libx11-6 \ libxtst6 \ libxrender1 \ @@ -19,26 +17,28 @@ RUN apt-get update && \ libxcb-xinerama0 \ libxkbcommon-x11-0 \ mesa-utils \ + mlocate \ + openbox \ + python2 \ + qt6-base-dev \ x11-apps \ xorg \ - openbox \ - libgomp1 \ - mlocate \ + zip \ && rm -rf /var/lib/apt/lists COPY cookies.txt /tmp/cookies.txt RUN curl --output /tmp/febio.zip -b /tmp/cookies.txt "https://febio.org/download/12171/?tmstv=1729879260" -RUN unzip /tmp/febio.zip && \ - chmod +x FEBioStudio_linux-x64_2.7_FEBio_4.7.run && \ +RUN unzip /tmp/febio.zip > /tmp/rebio.run && \ + chmod +x /tmp/febio.run && \ rm /tmp/febio.zip -RUN ./FEBioStudio_linux-x64_2.7_FEBio_4.7.run \ +RUN /tmp/febio.run \ --mode unattended \ --unattendedmodeui minimal \ --enable-components comp_febio_sdk -RUN rm FEBioStudio_linux-x64_2.7_FEBio_4.7.run && \ +RUN rm /tmp/febio.run && \ ln -s /opt/FEBioStudio/bin/FEBioStudio /usr/bin/FEBioStudio && \ ln -s /opt/FEBioStudio/bin/febio4 /usr/bin/febio4