From 9824d38ba9ccee454f87b3d62588450a9552ec9f Mon Sep 17 00:00:00 2001 From: Lea Waller Date: Thu, 25 Jan 2024 21:01:09 +0100 Subject: [PATCH] Use build context to fetch imputation server resources --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 680c719..2f34114 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,8 @@ RUN mkdir -p -v /localdata/liftover && \ file_name="${genome_reference}ToHg19.over.chain.gz"; \ wget --progress=dot:mega -O "/localdata/liftover/${file_name}" "https://hgdownload.soe.ucsc.edu/goldenPath/${genome_reference}/liftOver/${file_name}"; \ done -RUN wget --progress=dot:mega -O "/localdata/imputationserver.zip" "https://github.com/genepi/imputationserver/releases/download/v.1.7.5/imputationserver.zip" && \ - wget --progress=dot:giga -O "/localdata/1000genomes-phase3.zip" "https://download.gwas.science/imputationserver/1000genomes-phase3-3.0.0.zip" +ADD "https://github.com/genepi/imputationserver/releases/download/v.1.7.5/imputationserver.zip" "/localdata/imputationserver.zip" +ADD "https://download.gwas.science/imputationserver/1000genomes-phase3-3.0.0.zip" "/localdata/1000genomes-phase3.zip" FROM apache/hadoop:3 USER root