Skip to content

Commit

Permalink
First attempt at Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-harper committed Dec 11, 2024
1 parent be6e286 commit 30fe254
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions images.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ gatk-sv_issue_661 = 'n_a'
gcta = '1.94.1'
hap-py = '0.3.15'
haplocheckcli = '64293b3481d52025a01a293f6cc891546c30660e'
ica = '2.31.0'
jasmine = '1.1.5'
mitoreport = '1.1.0'
multipy = '0.16'
Expand Down
15 changes: 15 additions & 0 deletions images/ica/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM debian:buster-slim

ARG VERSION=${VERSION:-2.31.0}

RUN apt-get update && apt-get install -y git wget bash bzip2 zip && \
rm -r /var/lib/apt/lists/* && \
rm -r /var/cache/apt/* && \
wget -q https://stratus-documentation-us-east-1-public.s3.amazonaws.com/cli/${VERSION}/ica-linux-amd64.sha256 -O /tmp/ica-linux-amd64.sha256 && \
wget -q https://stratus-documentation-us-east-1-public.s3.amazonaws.com/cli/${VERSION}/ica-linux-amd64.zip -O /tmp/ica-linux-amd64.zip && \
sed -i 's|/home/ec2-user/workspace/ontrolPlane_ICA_CLI_release_2.31/target/ica-linux-amd64.zip|/tmp/ica-linux-amd64.zip|' /tmp/ica-linux-amd64.sha256 \
sha256sum -c /tmp/ica-linux-amd64.sha256 && \
unzip -d /tmp /tmp/ica-linux-amd64.zip && \
cp /tmp/linux-amd64/icav2 /usr/local/bin/icav2 && \
chmod a+x /usr/local/bin/icav2 && \
rm -rf /tmp/ica-linux-amd64.sha256 /tmp/ica-linux-amd64.zip /tmp/linux-amd64

0 comments on commit 30fe254

Please sign in to comment.