mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-01 13:12:24 -05:00
Update Java to 11
This commit is contained in:
parent
fe27b4b729
commit
9ef4d1ee5c
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Dockerfile for git-bridge
|
# Dockerfile for git-bridge
|
||||||
|
|
||||||
FROM maven:3-jdk-8 as base
|
FROM maven:3-jdk-11 as base
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y make git \
|
RUN apt-get update && apt-get install -y make git \
|
||||||
&& rm -rf /var/lib/apt/lists
|
&& rm -rf /var/lib/apt/lists
|
||||||
|
@ -23,7 +23,7 @@ RUN make package \
|
||||||
-name 'writelatex-git-bridge*jar-with-dependencies.jar' \
|
-name 'writelatex-git-bridge*jar-with-dependencies.jar' \
|
||||||
-exec mv {} /git-bridge.jar \;
|
-exec mv {} /git-bridge.jar \;
|
||||||
|
|
||||||
FROM openjdk:8-jre
|
FROM openjdk:11-jre
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y git sqlite3 \
|
RUN apt-get update && apt-get install -y git sqlite3 \
|
||||||
&& rm -rf /var/lib/apt/lists
|
&& rm -rf /var/lib/apt/lists
|
||||||
|
|
Loading…
Reference in a new issue