Skip to content

Commit 4ec5cbd

Browse files
authored
Update Dockerfile to use a non-removed JDK and a new grobid base (#65)
* Update Dockerfile to use a non-removed JDK and a new grobid base for building * chore: update copyright --------- Signed-off-by: Luca Foppiano <luca@foppiano.org>
1 parent 420dcf9 commit 4ec5cbd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile.software

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# build builder image
33
# -------------------
44

5-
FROM openjdk:17-jdk-slim as builder
5+
FROM eclipse-temurin:17.0.15_6-jdk AS builder
66

77
USER root
88

@@ -52,7 +52,7 @@ RUN wget https://github.com/kermitt2/Pub2TEI/archive/refs/heads/master.zip && \
5252
# build runtime image
5353
# -------------------
5454

55-
FROM lfoppiano/grobid:0.8.2-full as runtime
55+
FROM lfoppiano/grobid:0.8.2.1-full AS runtime
5656

5757
# setting locale is likely useless but to be sure
5858
ENV LANG C.UTF-8
@@ -83,7 +83,7 @@ VOLUME ["/opt/grobid/grobid-home/tmp"]
8383

8484
ARG GROBID_VERSION
8585
ENV GROBID_VERSION=${GROBID_VERSION:-latest}
86-
ENV SOFTWARE_MENTIONS_OPTS "-Djava.library.path=/opt/grobid/grobid-home/lib/lin-64:/usr/local/lib/python3.8/dist-packages/jep --add-opens java.base/java.lang=ALL-UNNAMED"
86+
ENV SOFTWARE_MENTIONS_OPTS="-Djava.library.path=/opt/grobid/grobid-home/lib/lin-64:/usr/local/lib/python3.8/dist-packages/jep --add-opens java.base/java.lang=ALL-UNNAMED"
8787

8888
CMD ["./software-mentions/bin/software-mentions", "server", "software-mentions/resources/config/config.yml"]
8989

src/main/resources/web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ <h4 class="modal-title" id="myModalLabel">Confirm</h4>
256256

257257
<!-- Footer -->
258258
<footer>
259-
<p><span style="color: #848484;">&copy; The contributors - 2025</span></p>
259+
<p><span style="color: #848484;">&copy; The contributors - 2026</span></p>
260260
</footer>
261261
</div>
262262

0 commit comments

Comments
 (0)