Skip to content
Snippets Groups Projects
Commit 71167866 authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

add -p to redirect archive output to a different file so I don't have to...

add -p to redirect archive output to a different file so I don't have to change the installer name for each new version
parent b2dcf187
No related branches found
No related tags found
No related merge requests found
Pipeline #11871 passed with stages
in 10 minutes and 17 seconds
...@@ -2,9 +2,14 @@ FROM ubuntu:jammy ...@@ -2,9 +2,14 @@ FROM ubuntu:jammy
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
# install curl and download the febio installer first to prevent any site timeout for the cookies
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y \ apt-get install curl -y
curl \
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 \ libgomp1 \
libglu1-mesa \ libglu1-mesa \
libx11-6 \ libx11-6 \
...@@ -26,7 +31,7 @@ RUN apt-get update && \ ...@@ -26,7 +31,7 @@ RUN apt-get update && \
COPY cookies.txt /tmp/cookies.txt COPY cookies.txt /tmp/cookies.txt
RUN curl --output /tmp/febio.zip -b /tmp/cookies.txt "https://febio.org/download/12171/?tmstv=1729879260" RUN curl --output /tmp/febio.zip -b /tmp/cookies.txt "https://febio.org/download/12171/?tmstv=1729879260"
RUN unzip /tmp/febio.zip > /tmp/febio.run && \ RUN unzip -p /tmp/febio.zip > /tmp/febio.run && \
chmod +x /tmp/febio.run && \ chmod +x /tmp/febio.run && \
rm /tmp/febio.zip rm /tmp/febio.zip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment