git repos / blockattack-game

blame: source/misc/docker/Dockerfile.Ubuntu20.04build

normal view · raw

a33969a8 Poul Sander 2021-06-08 17:51 1
FROM ubuntu:20.04
a33969a8 Poul Sander 2021-06-08 17:51 2
a33969a8 Poul Sander 2021-06-08 17:51 3
# Set timezone to UTC. This prevents apt-get install SOME-PACKAGES from asking for timezone during setup
a33969a8 Poul Sander 2021-06-08 17:51 4
ENV TZ=UTC
a33969a8 Poul Sander 2021-06-08 17:51 5
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
a33969a8 Poul Sander 2021-06-08 17:51 6
a33969a8 Poul Sander 2021-06-08 17:51 7
16476649 Poul Sander 2022-01-09 10:29 8
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
a33969a8 Poul Sander 2021-06-08 17:51 9
a33969a8 Poul Sander 2021-06-08 17:51 10
RUN mkdir -p /staging/blockattack-game
a33969a8 Poul Sander 2021-06-08 17:51 11
a33969a8 Poul Sander 2021-06-08 17:51 12
COPY . /staging/blockattack-game
a33969a8 Poul Sander 2021-06-08 17:51 13
289b307c Poul Sander 2022-02-18 20:14 14
ENV BLOCKATTACK_VERSION 2.9.0-SNAPSHOT
a33969a8 Poul Sander 2021-06-08 17:51 15
a33969a8 Poul Sander 2021-06-08 17:51 16
RUN cd /staging/blockattack-game && \
a33969a8 Poul Sander 2021-06-08 17:51 17
./packdata.sh && \
a33969a8 Poul Sander 2021-06-08 17:51 18
cmake . && \
a33969a8 Poul Sander 2021-06-08 17:51 19
make
1970-01-01 00:00 20