overleaf/services/git-bridge/Dockerfile

16 lines
532 B
Docker
Raw Normal View History

2018-10-08 05:36:20 -04:00
# Dockerfile for git-bridge
FROM ubuntu:latest
RUN apt-get update && \
2018-10-15 06:06:18 -04:00
apt-get install -y git make maven openjdk-8-jdk curl && \
2018-10-08 05:36:20 -04:00
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
2018-10-15 06:06:18 -04:00
RUN mkdir /app
WORKDIR /app