From 012614e0c690a270d34f0cb97e3ccec4868de0b3 Mon Sep 17 00:00:00 2001
From: Matthew Defenderfer <mdefende@uab.edu>
Date: Fri, 25 Oct 2024 12:38:40 -0500
Subject: [PATCH] update

---
 .gitignore     |  1 +
 .gitlab-ci.yml |  2 +-
 Dockerfile     | 31 +++++++++++++++++++++++++------
 3 files changed, 27 insertions(+), 7 deletions(-)
 create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..feb64ed
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+installer/
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07fc13a..aa7fe98 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@ febio-dl:
   variables:
     CI_DEBUG_TRACE: "true"
   script:
-    - aws --verbose s3 presign s3://$LTS_BUCKET/$LTS_FILE_KEY --endpoint-url $LTS_ENDPOINT --expires-in 600 --output text
+    - 'aws --verbose s3 presign s3://$LTS_BUCKET/$LTS_FILE_KEY --endpoint-url $LTS_ENDPOINT --expires-in 600 --output text'
   artifacts:
     paths:
       - "installer/"
diff --git a/Dockerfile b/Dockerfile
index cd45693..0e34d06 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,32 @@
-FROM ubuntu:22.04
+FROM ubuntu:jammy
+
+ENV DEBIAN_FRONTEND=noninteractive
 
 RUN apt-get update && \
     apt-get install -y \
-    zip
+    zip \
+    wget \
+    unzip \
+    libglu1-mesa \
+    libqt5widgets5 \
+    libqt5gui5 \
+    libqt5core5a \
+    libx11-6 \
+    libxtst6 \
+    libxrender1 \
+    libxrandr2 \
+    libxcursor1 \
+    libglib2.0-0 \
+    libxcb-xinerama0 \
+    libxkbcommon-x11-0 \
+    mesa-utils \
+    x11-apps \
+    xorg \
+    openbox \
+    libgomp1
 
 COPY ./installer/febio_installer.zip /tmp/febio_installer.zip
 RUN unzip /tmp/febio_installer.zip
-RUN chmod +x /tmp/FEBioStudio_linux-x64_2.7_FEBio_4.7.run
-
-RUN ./tmp/FEBioStudio_linux-x64_2.7_FEBio_4.7.run
+RUN chmod +x FEBioStudio_linux-x64_2.7_FEBio_4.7.run
 
-ENTRYPOINT [ "bash" ]
\ No newline at end of file
+RUN ./FEBioStudio_linux-x64_2.7_FEBio_4.7.run --mode unattended --unattendedmodeui minimal --enable-components comp_febio_sdk
-- 
GitLab