2024-01-31 18:38:32 +00:00
|
|
|
FROM python:3.12-alpine
|
2024-02-08 18:40:01 +00:00
|
|
|
RUN apk add --no-cache ca-certificates tzdata 7zip jq\
|
2024-01-31 18:38:32 +00:00
|
|
|
git openssh-client git-annex curl bzip2 bash glab\
|
2024-01-23 21:37:03 +00:00
|
|
|
&& cp /usr/share/zoneinfo/UTC /etc/localtime \
|
|
|
|
|
&& apk del tzdata \
|
|
|
|
|
&& rm -rf /tmp/* /var/cache/apk/*
|
2024-01-26 20:41:13 +00:00
|
|
|
RUN apk add --no-cache dcmtk --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
|
2024-01-23 21:37:03 +00:00
|
|
|
|
2024-01-26 20:41:13 +00:00
|
|
|
|
|
|
|
|
RUN pip install --break-system-packages --no-cache-dir datalad ssh_agent_setup python-gitlab pydicom pyyaml
|
|
|
|
|
|
|
|
|
|
ADD indexer /indexer
|
2024-01-31 16:04:50 +00:00
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
|
RUN chmod +x /entrypoint.sh
|
2024-02-08 18:40:01 +00:00
|
|
|
ENTRYPOINT ["bash", "/entrypoint.sh"]
|
2024-01-23 21:37:03 +00:00
|
|
|
|
|
|
|
|
WORKDIR /work
|