wip: alpine docker with storescp + dicom indexer

This commit is contained in:
bpinsard 2024-01-26 15:41:13 -05:00
parent 95eabd62f6
commit b6053a4c47
1 changed files with 6 additions and 2 deletions

View File

@ -1,10 +1,14 @@
FROM alpine:3.17.2 FROM alpine:3.19
RUN apk add --no-cache ca-certificates tzdata \ RUN apk add --no-cache ca-certificates tzdata \
python3 py3-pip git openssh-client git-annex curl bzip2 bash glab\ python3 py3-pip git openssh-client git-annex curl bzip2 bash glab\
&& cp /usr/share/zoneinfo/UTC /etc/localtime \ && cp /usr/share/zoneinfo/UTC /etc/localtime \
&& apk del tzdata \ && apk del tzdata \
&& rm -rf /tmp/* /var/cache/apk/* && 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 WORKDIR /work