From 9d37de75ca7ecd14845dc204b9d2cdaeb37fac44 Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Thu, 25 Jan 2024 10:30:23 -0500 Subject: [PATCH] Switch to static build of ANTs --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c1cbcf..7fa158e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,7 @@ LABEL org.opencontainers.image.authors="FNNDSC " \ org.opencontainers.image.description="A ChRIS plugin wrapper for N4BiasFieldCorrection" # install N4BiasFieldCorrection -COPY --from=docker.io/fnndsc/n4biasfieldcorrection:2.5.0 /opt/ants /opt/ants -ENV PATH=/opt/ants/bin:$PATH LD_LIBRARY_PATH=/opt/ants/lib:$LD_LIBRARY_PATH +COPY --from=docker.io/fnndsc/n4biasfieldcorrection:2.5.0 /usr/local/bin/N4BiasFieldCorrection /usr/local/bin/N4BiasFieldCorrection ARG SRCDIR=/usr/local/src/pl-N4BiasFieldCorrection WORKDIR ${SRCDIR}