Forked from
RC Data Science / community-containers / FEBioStudio
5 commits behind the upstream repository.
-
Matthew K Defenderfer authored
add -p to redirect archive output to a different file so I don't have to change the installer name for each new version
Dockerfile 1.20 KiB
FROM ubuntu:jammy
ENV DEBIAN_FRONTEND=noninteractive
# install curl and download the febio installer first to prevent any site timeout for the cookies
RUN apt-get update && \
apt-get install curl -y
COPY cookies.txt /tmp/cookies.txt
RUN curl --output /tmp/febio.zip -b /tmp/cookies.txt "https://febio.org/download/12171/?tmstv=1729879260"
RUN apt-get install -y \
libgomp1 \
libglu1-mesa \
libx11-6 \
libxtst6 \
libxrender1 \
libxrandr2 \
libxcursor1 \
libglib2.0-0 \
libxcb-xinerama0 \
libxkbcommon-x11-0 \
mesa-utils \
openbox \
qt6-base-dev \
x11-apps \
xorg \
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 -p /tmp/febio.zip > /tmp/febio.run && \
chmod +x /tmp/febio.run && \
rm /tmp/febio.zip
RUN /tmp/febio.run \
--mode unattended \
--unattendedmodeui minimal \
--enable-components comp_febio_sdk
RUN rm /tmp/febio.run && \
ln -s /opt/FEBioStudio/bin/FEBioStudio /usr/bin/FEBioStudio && \
ln -s /opt/FEBioStudio/bin/febio4 /usr/bin/febio4
ENTRYPOINT ["FEBioStudio"]