source/misc/docker/Dockerfile.Ubuntu18.04build
raw| 1 | FROM ubuntu:18.04 |
| 2 | |
| 3 | RUN apt-get update && apt-get install -yy build-essential libphysfs-dev libboost-dev libfmt-dev cmake libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libboost-program-options-dev libutfcpp-dev zip gettext |
| 4 | |
| 5 | RUN mkdir -p /staging/blockattack-game |
| 6 | |
| 7 | COPY . /staging/blockattack-game |
| 8 | |
| 9 | ENV BLOCKATTACK_VERSION 2.10.0 |
| 10 | |
| 11 | RUN cd /staging/blockattack-game && \ |
| 12 | ./packdata.sh && \ |
| 13 | cmake . && \ |
| 14 | make |