18 lines
587 B
Docker
18 lines
587 B
Docker
FROM python:3.12-alpine
|
|
RUN apk add --no-cache ca-certificates tzdata 7zip jq\
|
|
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 --break-system-packages --no-cache-dir datalad ssh_agent_setup python-gitlab pydicom pyyaml
|
|
|
|
ADD indexer /indexer
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
ENTRYPOINT ["bash", "/entrypoint.sh"]
|
|
|
|
WORKDIR /work
|