2018-09-03 08:23:08 +05:30
|
|
|
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
|
|
|
|
|
|
|
|
ADD . /code
|
|
|
|
|
2018-09-03 09:24:26 +05:30
|
|
|
RUN echo "\nrunClient {\nargs \"--width\",\"128\",\"--height\",\"128\"\n}" >> /code/build.gradle
|
|
|
|
|
2018-09-25 22:32:38 +05:30
|
|
|
RUN dpkg -i /code/scripts/xvfb_1.16.4-1_amd64.deb
|
2018-09-03 08:23:08 +05:30
|
|
|
|
|
|
|
WORKDIR /code
|
|
|
|
|
2018-09-25 23:49:25 +05:30
|
|
|
RUN ./gradlew build
|