Skip to content

Commit

Permalink
adds Dockerfile that can use jar for transform alma marc xml into jso…
Browse files Browse the repository at this point in the history
…n.gz
  • Loading branch information
niquerio committed Dec 16, 2024
1 parent 3288c41 commit c4946e5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions xml_to_json/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM bitnami/java:21

ARG UNAME=app
ARG UID=1000
ARG GID=1000

LABEL maintainer="mrio@umich.edu"

RUN groupadd -g ${GID} -o ${UNAME}
RUN useradd -m -d /app -u ${UID} -g ${GID} -o -s /bin/bash ${UNAME}
RUN mkdir -p /jars && chown ${UID}:${GID} /jars

USER $UNAME

RUN wget -O /jars/alma.tar.gz-to-marcinjson.jar https://github.com/mlibrary/alma.tar.gz-to-marcinjson/releases/download/1.0/alma.tar.gz-to-marcinjson.jar

WORKDIR /app

0 comments on commit c4946e5

Please sign in to comment.