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

download installer zip from LTS

parent 9664db5f
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,28 @@ default:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
interruptible: true
variables:
LTS_ENDPOINT: $LTS_ENDPOINT
LTS_BUCKET: $LTS_BUCKET
LTS_FILE_KEY: $LTS_FILE_KEY
stages:
- pre-build
- build
febio-dl:
image: amazon/aws-cli
stage: pre-build
script:
- apk add --no-cache curl
- |
URL=$(aws s3 presign s3://$LTS_BUCKET/$LTS_FILE_KEY --endpoint-url $LTS_ENDPOINT --expires-in 600 --profile ceph --region us-east-1 --output text)
echo "Pre-signed URL: $URL"
curl -o febio_installer.zip "$URL"
artifacts:
paths:
- "installer/"
docker-build:
stage: build
script:
......
FROM ubuntu:22.04
COPY FEBioStudio_linux-x64_2.7_FEBio_4.7.run /tmp/FEBioStudio_linux-x64_2.7_FEBio_4.7.run
RUN apt-get update && \
apt-get install -y \
zip
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
......
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