Skip to content

Commit

Permalink
Merge branch 'refs/heads/master' into release-0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Jul 17, 2024
2 parents 56d351c + e04048d commit 99f653a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.crf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ FROM openjdk:17-jdk-slim as builder
USER root

RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y --no-install-recommends install unzip

WORKDIR /opt/grobid-source
Expand Down Expand Up @@ -65,6 +66,7 @@ RUN rm -rf grobid-source
FROM openjdk:17-slim

RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y --no-install-recommends install libxml2 libfontconfig && \
rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.delft
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ FROM openjdk:17-jdk-slim as builder
USER root

RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y --no-install-recommends install unzip

WORKDIR /opt/grobid-source
Expand Down Expand Up @@ -86,6 +87,7 @@ ENTRYPOINT ["/tini", "-s", "--"]

# install JRE, python and other dependencies
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y --no-install-recommends install apt-utils build-essential gcc libxml2 libfontconfig unzip curl \
openjdk-17-jre-headless ca-certificates-java \
musl gfortran \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.apache.lucene.analysis.standard.ClassicAnalyzer;
import org.apache.lucene.util.Version;
import org.grobid.core.data.BibDataSet;
import org.grobid.core.data.BiblioItem;;
import org.grobid.core.data.BiblioItem;
import org.grobid.core.layout.LayoutToken;
import org.grobid.core.utilities.LayoutTokensUtil;
import org.grobid.core.utilities.Pair;
Expand Down Expand Up @@ -478,4 +478,4 @@ public boolean isKnownFirstAuthor(String text) {
return false;
}

}
}

0 comments on commit 99f653a

Please sign in to comment.