-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
27 lines (25 loc) · 968 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Default image that can build OpenRCT2 for Linux (amd64).
# Provides building with cmake+ninja using either gcc or clang.
FROM ubuntu:18.04
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install --no-install-recommends -y \
# System
ca-certificates curl file libcairo2 patchelf unzip \
# Build tools
git cmake pkg-config ninja-build ccache g++ clang-5.0 \
# Build libraries
libsdl2-dev libspeex-dev libspeexdsp-dev \
libcrypto++-dev libcurl4-openssl-dev libssl-dev \
libfontconfig1-dev libfreetype6-dev \
libicu-dev libpng-dev libzip-dev \
duktape-dev \
# Testing libraries
libgtest-dev && \
# Create symbolic links
ln -s /usr/bin/clang-5.0 /usr/bin/clang && \
ln -s /usr/bin/clang++-5.0 /usr/bin/clang++
RUN curl https://github.com/nlohmann/json/releases/download/v3.9.1/include.zip -Lo /usr/json.zip && \
unzip /usr/json.zip -d /usr/
# Bash is required for OpenRCT2 CI
SHELL ["/bin/bash", "-c"]