diff --git a/fuseki/Dockerfile b/fuseki/Dockerfile index 1136031..cb7e448 100644 --- a/fuseki/Dockerfile +++ b/fuseki/Dockerfile @@ -4,8 +4,9 @@ ARG JDK_IMAGE=adoptopenjdk:11-jre-hotspot ARG VERSION=4.2.0 -ENV URL=https://repository.apache.org/content/repositories/releases/org/apache/jena/jena-fuseki-server/${VERSION}/jena-fuseki-server-${VERSION}.jar -ENV BASE=/mnt/apache-fuseki +ENV URL=https://archive.apache.org/dist/jena/binaries/apache-jena-fuseki-${VERSION}.tar.gz + +ENV BASE=/mnt/apache-jena-fuseki-${VERSION} ## VOLUME /mnt/ @@ -13,11 +14,11 @@ RUN mkdir -p $BASE WORKDIR $BASE -RUN curl --silent --show-error --output fuseki-server.jar $URL +RUN curl -L $URL | tar xz EXPOSE 3030 -ENTRYPOINT [ "/usr/bin/java", "-jar", "fuseki-server.jar" ] +ENTRYPOINT [ "bin/fuseki-server" ] 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"