Debian Codegraph @

source/misc/docker/Dockerfile.Ubuntu22.04build

raw
1 FROM ubuntu:22.04
2
3 # Set timezone to UTC. This prevents apt-get install SOME-PACKAGES from asking for timezone during setup
4 ENV TZ=UTC
5 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
6
7
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
9
10 RUN mkdir -p /staging/blockattack-game
11
12 COPY . /staging/blockattack-game
13
14 ENV BLOCKATTACK_VERSION 2.10.0
15
16 RUN cd /staging/blockattack-game && \
17 ./packdata.sh && \
18 cmake . && \
19 make