thedocks/fuseki/Dockerfile

25 lines
831 B
Docker
Raw Normal View History

2021-11-01 11:13:34 +00:00
# fuseki with openjdk 11 docker image
# @created 2021-11
# author="Andy Bunce"
ARG JDK_IMAGE=adoptopenjdk:11-jre-hotspot
ARG VERSION=4.2.0
2021-11-02 22:01:41 +00:00
FROM $JDK_IMAGE
2021-11-02 21:57:08 +00:00
ENV URL=https://archive.apache.org/dist/jena/binaries/apache-jena-fuseki-${VERSION}.tar.gz
ENV BASE=/mnt/apache-jena-fuseki-${VERSION}
2021-11-01 11:13:34 +00:00
2021-11-02 22:06:34 +00:00
WORKDIR /mnt
2021-11-02 22:44:01 +00:00
RUN mkdir -p ${BASE} && curl -L ${URL} | tar zxv -C ${BASE} --strip-components 1
2021-11-01 11:13:34 +00:00
WORKDIR $BASE
EXPOSE 3030
2021-11-02 21:57:08 +00:00
ENTRYPOINT [ "bin/fuseki-server" ]
2021-11-01 11:13:34 +00:00
LABEL org.opencontainers.image.source="https://repository.apache.org/content/repositories/releases/org/apache/jena/jena-fuseki-server/${VERSION}"
LABEL org.opencontainers.image.vendor="Quodatum Ltd"
LABEL org.opencontainers.image.licenses="Apache-2.0"
LABEL com.quodatum.basex-docker.basex="${VERSION}"
LABEL com.quodatum.basex-docker.jdk="${JDK_IMAGE}"