git repos / blockattack-game

blame: source/misc/docker/Dockerfile.Ubuntu14.04build_Standalone

normal view · raw

2a8dc4d7 sago007 2017-08-31 18:27 1
FROM ubuntu:14.04
2a8dc4d7 sago007 2017-08-31 18:27 2
2fe92aba sago007 2017-08-31 20:29 3
RUN apt-get update && apt-get install -y build-essential libphysfs-dev 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
2a8dc4d7 sago007 2017-08-31 18:27 21
COPY . /staging/blockattack-game
2a8dc4d7 sago007 2017-08-31 18:27 22
2a8dc4d7 sago007 2017-08-31 18:27 23
ENV BLOCKATTACK_VERSION 2.1.0-SNAPSHOT
2a8dc4d7 sago007 2017-08-31 18:27 24
2a8dc4d7 sago007 2017-08-31 18:27 25
RUN cd /staging/blockattack-game && \
2a8dc4d7 sago007 2017-08-31 18:27 26
./packdata.sh && \
ab86a00f sago007 2017-08-31 19:08 27
cmake -D Boost_USE_STATIC_LIBS=ON -D INSTALL_DATA_DIR=. -D CMAKE_INSTALL_PREFIX=. -D STANDALONE=1 . && make
1970-01-01 00:00 28