You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the sourceforge urls provided inside the Dockerfile redirect to another page, which contains the file itself. So, all you have to do is to replace the urls with the redirected one. In my case, I changed the Dockerfile as follows:
FROM openjdk:8-jre-alpine
MAINTAINER DBpedia Spotlight Team <[email protected]>
RUN apk add --no-cache curl && \
mkdir -p /opt/spotlight && \
cd /opt/spotlight && \
curl -O "https://ufpr.dl.sourceforge.net/project/dbpedia-spotlight/spotlight/dbpedia-spotlight-1.0.0.jar" && \
curl -O "https://ufpr.dl.sourceforge.net/project/dbpedia-spotlight/2016-04/en/model/en_2+2.tar.gz" && \
tar xvf en_2+2.tar.gz && \
rm en_2+2.tar.gz && \
apk del curl
ADD spotlight.sh /bin/spotlight.sh
RUN chmod +x /bin/spotlight.sh
EXPOSE 80
I get this output when trying to build the v1.0/english Docker image:
The text was updated successfully, but these errors were encountered: