From b6053a4c47a381da1f2bbacaa5cad2523fbfb22f Mon Sep 17 00:00:00 2001 From: bpinsard Date: Fri, 26 Jan 2024 15:41:13 -0500 Subject: [PATCH] wip: alpine docker with storescp + dicom indexer --- docker/dicom_indexer/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/dicom_indexer/Dockerfile b/docker/dicom_indexer/Dockerfile index 21b30c0..231c935 100644 --- a/docker/dicom_indexer/Dockerfile +++ b/docker/dicom_indexer/Dockerfile @@ -1,10 +1,14 @@ -FROM alpine:3.17.2 +FROM alpine:3.19 RUN apk add --no-cache ca-certificates tzdata \ python3 py3-pip git openssh-client git-annex curl bzip2 bash glab\ && cp /usr/share/zoneinfo/UTC /etc/localtime \ && apk del tzdata \ && rm -rf /tmp/* /var/cache/apk/* +RUN apk add --no-cache dcmtk --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing -RUN pip install --no-cache-dir datalad ssh_agent_setup python-gitlab pydicom + +RUN pip install --break-system-packages --no-cache-dir datalad ssh_agent_setup python-gitlab pydicom pyyaml + +ADD indexer /indexer WORKDIR /work