forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cambio version a tomcat 10, jdk 17 y maven 3.8.8
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# NAME: arieljlira/dspace | ||
FROM tomcat:9-jdk11 | ||
FROM tomcat:10-jdk17 | ||
|
||
LABEL maintainer "[email protected]" | ||
|
||
|
@@ -28,9 +28,14 @@ ENV BOOTSTRAP_DUMP "${DSPACE_BASE}/bootstrap-dump.sql" | |
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 | ||
|
||
RUN apt-get update && apt-get -y upgrade | ||
RUN apt-get install -y --no-install-recommends git ant maven postgresql-client | ||
RUN apt-get install -y --no-install-recommends git ant postgresql-client | ||
RUN apt-get install -y --no-install-recommends procps curl sudo gpg | ||
|
||
ENV MAVEN_VERSION 3.8.8 | ||
RUN curl -fsSL https://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | tar xzf - -C /usr/share \ | ||
&& mv /usr/share/apache-maven-$MAVEN_VERSION /usr/share/maven \ | ||
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn | ||
|
||
RUN apt-get autoremove -y && apt-get clean | ||
|
||
WORKDIR ${DSPACE_BASE} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters