baritone/Dockerfile

24 lines
692 B
Docker
Raw Normal View History

2018-09-02 19:53:08 -07:00
FROM debian:jessie
RUN echo 'deb http://deb.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/jessie-backports.list
ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y
RUN apt install --target-release jessie-backports \
openjdk-8-jdk \
ca-certificates-java \
--assume-yes
RUN apt install -qq --force-yes mesa-utils libgl1-mesa-glx libxcursor1 libxrandr2 libxxf86vm1 x11-xserver-utils xfonts-base xserver-common
2018-09-30 07:58:44 -07:00
COPY . /code
2018-10-19 21:15:37 -07:00
WORKDIR /code
# this .deb is specially patched to support lwjgl
2018-09-26 10:18:08 -07:00
# source: https://github.com/tectonicus/tectonicus/issues/60#issuecomment-154239173
2018-10-19 21:15:37 -07:00
RUN dpkg -i scripts/xvfb_1.16.4-1_amd64.deb
2018-09-02 19:53:08 -07:00
2018-09-25 11:19:25 -07:00
RUN ./gradlew build