git repos / blockattack-game

blame: source/misc/docker/Dockerfile.Ubuntu16.04build_Standalone32

normal view · raw

72287ac0 Poul Sander 2020-10-28 21:23 1
FROM ioft/i386-ubuntu:16.04
72287ac0 Poul Sander 2020-10-28 21:23 2
72287ac0 Poul Sander 2020-10-28 21:23 3
RUN apt-get update && apt-get install -y build-essential cmake pkg-config libfreetype6-dev libvorbis-dev libgl1-mesa-dev libpulse-dev libpng12-dev zip gettext
72287ac0 Poul Sander 2020-10-28 21:23 4
72287ac0 Poul Sander 2020-10-28 21:23 5
RUN apt-get update && apt-get install -y python-software-properties software-properties-common && \
72287ac0 Poul Sander 2020-10-28 21:23 6
add-apt-repository ppa:ubuntu-toolchain-r/test && \
72287ac0 Poul Sander 2020-10-28 21:23 7
apt-get update && \
72287ac0 Poul Sander 2020-10-28 21:23 8
apt-get install -y gcc-4.8 g++-4.8 && \
72287ac0 Poul Sander 2020-10-28 21:23 9
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50 && \
72287ac0 Poul Sander 2020-10-28 21:23 10
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
72287ac0 Poul Sander 2020-10-28 21:23 11
72287ac0 Poul Sander 2020-10-28 21:23 12
COPY source/misc/standalone/compile_requirements.sh /
72287ac0 Poul Sander 2020-10-28 21:23 13
RUN /compile_requirements.sh
72287ac0 Poul Sander 2020-10-28 21:23 14
72287ac0 Poul Sander 2020-10-28 21:23 15
72287ac0 Poul Sander 2020-10-28 21:23 16
72287ac0 Poul Sander 2020-10-28 21:23 17
COPY . /staging/blockattack-game
72287ac0 Poul Sander 2020-10-28 21:23 18
72287ac0 Poul Sander 2020-10-28 21:23 19
ENV BLOCKATTACK_VERSION 2.3.0
72287ac0 Poul Sander 2020-10-28 21:23 20
72287ac0 Poul Sander 2020-10-28 21:23 21
RUN cd /staging/blockattack-game && \
72287ac0 Poul Sander 2020-10-28 21:23 22
./packdata.sh && \
72287ac0 Poul Sander 2020-10-28 21:23 23
cmake -D Boost_USE_STATIC_LIBS=ON -D INSTALL_DATA_DIR=. -D CMAKE_INSTALL_PREFIX=. -D STANDALONE=1 . && make
1970-01-01 00:00 24