| 1 |
FROM ubuntu:18.04 |
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y software-properties-common |
| 4 |
|
| 5 |
RUN add-apt-repository ppa:ubuntu-toolchain-r/test |
| 6 |
|
| 7 |
|
| 8 |
RUN apt-get update && apt-get install -y build-essential cmake g++11 pkg-config libfreetype6-dev libvorbis-dev libgl1-mesa-dev libpulse-dev zip gettext |
| 9 |
|
| 10 |
|
| 11 |
COPY source/misc/standalone/compile_requirements.sh / |
| 12 |
RUN /compile_requirements.sh |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
COPY . /staging/blockattack-game |
| 17 |
|
| 18 |
ENV BLOCKATTACK_VERSION 2.10.0 |
| 19 |
|
| 20 |
RUN cd /staging/blockattack-game && \ |
| 21 |
./packdata.sh && \ |
| 22 |
cmake -D Boost_USE_STATIC_LIBS=ON -D INSTALL_DATA_DIR=. -D CMAKE_INSTALL_PREFIX=. -D STANDALONE=1 . && make |