Skip to content
Snippets Groups Projects
Dockerfile 887 B
FROM sdvharbor.slub-dresden.de/replication/debian:bookworm-slim

ARG GITDIR
ENV DEBIAN_FRONTEND=noninteractive
ENV EXLIBRIS_REPO=https://github.com/ExLibrisGroup/Rosetta.dps-sdk-projects.git
ENV EXLIBRIS_REPODIR=Rosetta.dps-sdk-projects
ENV EXLIBRIS_PATH=/exlibris

RUN apt-get update; \
    apt-get install -y --no-install-recommends gnupg wget; \
    wget -O - http://sdvdebianrepo.slub-dresden.de/deb-repository/pub.gpg.key | apt-key add - ; \
    echo "deb http://sdvdebianrepo.slub-dresden.de/deb-repository bullseye main" > /etc/apt/sources.list.d/slub.list;

RUN apt-get update; \
    apt-get -y upgrade; \
    apt-get install -y \
      apt-file \
      apt-utils \
      make \
      openjdk-17-jdk \
      junit4 \
      git \
    ;
RUN apt-file update;
RUN git clone https://github.com/ExLibrisGroup/Rosetta.dps-sdk-projects.git
RUN ln -s ${EXLIBRIS_REPODIR} ${EXLIBRIS_PATH}