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

remove duplicated code and cookies file

parent edeb12ea
No related branches found
No related tags found
No related merge requests found
Pipeline #11961 passed with stages
in 6 minutes and 54 seconds
...@@ -7,7 +7,8 @@ RUN apt-get update && \ ...@@ -7,7 +7,8 @@ RUN apt-get update && \
apt-get install curl -y apt-get install curl -y
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" && \
rm /tmp/cookies.txt
RUN apt-get install -y \ RUN apt-get install -y \
binutils \ binutils \
...@@ -29,9 +30,6 @@ RUN apt-get install -y \ ...@@ -29,9 +30,6 @@ RUN apt-get install -y \
zip \ zip \
&& rm -rf /var/lib/apt/lists && 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 && \ 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