| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
1 |
FROM ubuntu:14.04 |
| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
2 |
|
| d0c480e8 |
sago007 |
2017-09-02 09:14 |
3 |
RUN apt-get update && apt-get install -y build-essential libboost-dev cmake pkg-config libboost-program-options-dev libfreetype6-dev libvorbis-dev libgl1-mesa-dev libutfcpp-dev zip gettext |
| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
4 |
|
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
5 |
RUN mkdir -p /staging/deps && cd /staging/deps && curl https://libsdl.org/release/SDL2-2.0.5.tar.gz | tar -zx && cd SDL2-2.0.5 && ls -lrt |
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
6 |
RUN cd /staging/deps/SDL2-2.0.5 && ./configure --enable-shared --enable-static && make && make install |
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
7 |
|
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
8 |
#https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz |
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
9 |
RUN mkdir -p /staging/deps && cd /staging/deps && curl https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz | tar -zx && cd SDL2_image-2.0.1 && ls -lrt |
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
10 |
RUN cd /staging/deps/SDL2_image-2.0.1 && ./configure --enable-shared --enable-static && make && make install |
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
11 |
|
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
12 |
#https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz |
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
13 |
RUN mkdir -p /staging/deps && cd /staging/deps && curl https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz | tar -zx && cd SDL2_mixer-2.0.1 && ls -lrt |
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
14 |
RUN cd /staging/deps/SDL2_mixer-2.0.1 && ./configure --enable-shared --enable-static && make && make install |
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
15 |
|
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
16 |
#https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz |
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
17 |
RUN mkdir -p /staging/deps && cd /staging/deps && curl https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz | tar -zx && cd SDL2_ttf-2.0.14 && ls -lrt |
| 2fe92aba |
sago007 |
2017-08-31 20:29 |
18 |
RUN cd /staging/deps/SDL2_ttf-2.0.14 && ./configure --enable-shared --enable-static && make && make install |
| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
19 |
RUN mkdir -p /staging/blockattack-game |
| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
20 |
|
| d0c480e8 |
sago007 |
2017-09-02 09:14 |
21 |
RUN mkdir -p /staging/deps && cd /staging/deps && curl http://icculus.org/physfs/downloads/physfs-2.0.3.tar.bz2 | tar -jx && cd physfs-2.0.3 && ls -lrt |
| d0c480e8 |
sago007 |
2017-09-02 09:14 |
22 |
RUN cd /staging/deps/physfs-2.0.3 && cmake . && make && make install |
| d0c480e8 |
sago007 |
2017-09-02 09:14 |
23 |
|
| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
24 |
COPY . /staging/blockattack-game |
| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
25 |
|
| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
26 |
ENV BLOCKATTACK_VERSION 2.1.0-SNAPSHOT |
| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
27 |
|
| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
28 |
RUN cd /staging/blockattack-game && \ |
| 2a8dc4d7 |
sago007 |
2017-08-31 18:27 |
29 |
./packdata.sh && \ |
| ab86a00f |
sago007 |
2017-08-31 19:08 |
30 |
cmake -D Boost_USE_STATIC_LIBS=ON -D INSTALL_DATA_DIR=. -D CMAKE_INSTALL_PREFIX=. -D STANDALONE=1 . && make |
|
|
1970-01-01 00:00 |
31 |
|