Files
CorsixTH/Dockerfile.build
Alexandre Lavoie 38f90e3ba9 Nixpkgs Implementation (and Docker Improvement) (#1881)
* Fix  Dockerfile would not complete due to interactivity being enabled.
* Added docker-compose.yml to build with `docker-compose up`.
* Removed Lua 5.2 from Dockerfile.
* Add BUILD_CORSIXTH cmake flag for disabling building the main program, e.g. if you only want AnimView
2021-06-02 17:01:27 -04:00

26 lines
645 B
Docker

# Dockerfile to build CorsixTH
FROM ubuntu:latest
WORKDIR /sourcecode
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update
RUN apt-get install -y \
# Base Tools
build-essential cmake git doxygen \
# LUA
liblua5.3-0 liblua5.3-0-dbg liblua5.3-dev \
lua-filesystem lua-lpeg \
# SDL2
libsdl2-dev libsdl2-mixer-dev \
# AV
ffmpeg timidity \
libavformat-dev libavresample-dev libavdevice-dev libavutil-dev libavfilter-dev libavcodec-dev \
libpostproc-dev libswscale-dev libswresample-dev \
# Font
libfreetype6-dev
CMD mkdir -p build && cd build && cmake -DUSE_SOURCE_DATADIRS=ON .. && make