git repos / saland

extra/docker/Dockerfile

browsing at commit = f25341c743a9a3a5272a9b8ee012fa0634427d7d

raw · blame · history

FROM ubuntu:24.04

# Set timezone to UTC. This prevents apt-get install SOME-PACKAGES from asking for timezone during setup
ENV TZ=UTC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt-get update && apt-get install --no-install-recommends -y build-essential libphysfs-dev libboost-dev cmake libsdl2-dev libsdl2-image-dev \
libsdl2-gfx-dev libsdl2-mixer-dev libsdl2-ttf-dev libboost-program-options-dev zip gettext

RUN mkdir -p /staging/saland

COPY . /staging/saland

RUN cd /staging/saland && \
cmake . && \
make