From 30598305c7aad18f6492c70536897b5e8f04e54a Mon Sep 17 00:00:00 2001
From: Matthew Defenderfer <mdefende@uab.edu>
Date: Tue, 29 Oct 2024 14:35:53 -0500
Subject: [PATCH] revert some changes back to installing latest Febio with Qt6
 since we are installing Qt6 as a module on Cheaha

---
 Dockerfile | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index f32e260..f2066db 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
 
-- 
GitLab