fix dockerfile
This commit is contained in:
parent
eb78a1f49b
commit
9624e343af
@ -11,8 +11,8 @@ install:
|
|||||||
- docker build -t cabaletta/baritone .
|
- docker build -t cabaletta/baritone .
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- docker run cabaletta/baritone /bin/sh -c "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 128x128x24 -ac +extension GLX +render; DISPLAY=:99 BARITONE_AUTO_TEST=true ./gradlew runClient; sh scripts/build.sh"
|
- docker run --name baritone cabaletta/baritone /bin/sh -c "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 128x128x24 -ac +extension GLX +render; sh scripts/build.sh; DISPLAY=:99 BARITONE_AUTO_TEST=true ./gradlew runClient"
|
||||||
- docker cp $(docker ps -a -q):/code/dist dist
|
- docker cp baritone:/code/dist dist
|
||||||
- ls dist
|
- ls dist
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -13,6 +13,8 @@ RUN apt install --target-release jessie-backports \
|
|||||||
|
|
||||||
RUN apt install -qq --force-yes mesa-utils libgl1-mesa-glx libxcursor1 libxrandr2 libxxf86vm1 x11-xserver-utils xfonts-base xserver-common
|
RUN apt install -qq --force-yes mesa-utils libgl1-mesa-glx libxcursor1 libxrandr2 libxxf86vm1 x11-xserver-utils xfonts-base xserver-common
|
||||||
|
|
||||||
|
RUN apt install -qq --force-yes unzip wget
|
||||||
|
|
||||||
ADD . /code
|
ADD . /code
|
||||||
|
|
||||||
RUN echo "\nrunClient {\nargs \"--width\",\"128\",\"--height\",\"128\"\n}" >> /code/build.gradle
|
RUN echo "\nrunClient {\nargs \"--width\",\"128\",\"--height\",\"128\"\n}" >> /code/build.gradle
|
||||||
|
Loading…
Reference in New Issue
Block a user