mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 06:31:52 +00:00
16 lines
No EOL
532 B
Docker
16 lines
No EOL
532 B
Docker
# Dockerfile for git-bridge
|
|
|
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y git make maven openjdk-8-jdk curl && \
|
|
update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-8-openjdk-amd64/bin/java 100 && \
|
|
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac 100 && \
|
|
update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/bin/java && \
|
|
update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
|
|
|
|
|
|
RUN mkdir /app
|
|
WORKDIR /app |