baritone/Dockerfile

24 lines
630 B
Docker
Raw Normal View History

2019-03-23 09:47:20 +05:30
FROM debian:stretch
2018-09-03 08:23:08 +05:30
2019-03-23 09:47:20 +05:30
RUN echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/sources.list.d/stretch-backports.list
2018-09-03 08:23:08 +05:30
ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y
2019-03-23 09:47:20 +05:30
RUN apt install \
2018-09-03 08:23:08 +05:30
openjdk-8-jdk \
--assume-yes
2019-03-23 09:47:20 +05:30
RUN apt install -qq --assume-yes mesa-utils libgl1-mesa-glx libxcursor1 libxrandr2 libxxf86vm1 x11-xserver-utils xfonts-base xserver-common
2018-09-03 08:23:08 +05:30
2018-09-30 20:28:44 +05:30
COPY . /code
2018-10-20 09:45:37 +05:30
WORKDIR /code
# this .deb is specially patched to support lwjgl
2018-09-26 22:48:08 +05:30
# source: https://github.com/tectonicus/tectonicus/issues/60#issuecomment-154239173
2018-10-20 09:45:37 +05:30
RUN dpkg -i scripts/xvfb_1.16.4-1_amd64.deb
2018-09-03 08:23:08 +05:30
2019-03-23 09:47:20 +05:30
RUN ./gradlew build