-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
24 lines (23 loc) · 930 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
# Default image that can build OpenRCT2 for Linux (i686).
# Provides building with cmake+ninja using gcc.
FROM ubuntu:18.04
RUN dpkg --add-architecture i386 \
&& apt-get update \
&& apt-get install -y g++-7-multilib \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60 \
&& apt-get update \
&& apt-get -y upgrade \
&& apt-get install --no-install-recommends -y \
# System
ca-certificates curl \
# Build tools
git cmake ninja-build ccache \
pkg-config:i386 \
# Build libraries
libsdl2-dev:i386 libspeex-dev:i386 libspeexdsp-dev:i386 \
libcrypto++-dev:i386 libcurl4-openssl-dev:i386 libssl-dev:i386 \
libfontconfig1-dev:i386 libfreetype6-dev:i386 \
libjansson-dev:i386 libpng-dev:i386 libzip-dev:i386 libicu-dev:i386 \
duktape-dev:i386
# Bash is required for OpenRCT2 CI
SHELL ["/bin/bash", "-c"]