forked from freeorion/freeorion-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
62 lines (60 loc) · 2.32 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# This Dockerfile contains build instructions to create a working and C++11
# capable build environment for FreeOrion on TravisCI. The image is available
# via `freeorion/freeorion-travis-build`.
# Docker doesn't expose any feature to check if a Dockerfile would result in
# some tagged image on the docker registry for various reasons (hard to restore
# Dockerfile from fs-metadata, no return code for an recreated build from cache
# when using `docker build`, different file timestamps in fs-layers when running
# `apt-get`, apt-get not pulling consistent packages, …). To circument this a
# custom label called `version` is used. Whenever a new image should be deployed
# the version label value needs to be increased by one.
FROM docker.io/ubuntu:16.04
LABEL version="6" \
maintainer="Marcel Metz <[email protected]>"
RUN apt-get update --assume-yes \
&& apt-get install --assume-yes --no-install-recommends \
git \
g++ \
cmake \
python \
doxygen \
libpython-dev \
libfreetype6-dev \
libglew-dev \
libopenal-dev \
libogg-dev \
libvorbis-dev \
zlib1g-dev \
libsdl2-dev \
mesa-common-dev \
libfreetype6-dev \
libpng12-dev \
libboost-thread-dev \
libboost-system-dev \
libboost-signals-dev \
libboost-serialization-dev \
libboost-regex-dev \
libboost-python-dev \
libboost-log-dev \
libboost-iostreams-dev \
libboost-locale-dev \
libboost-filesystem-dev \
libboost-date-time-dev \
libboost-test-dev \
&& rm -rf \
/var/lib/apt/lists/* \
/usr/share/cmake-3.5/Help \
/usr/share/doc/libasound2-dev/examples \
/usr/share/doc/libasound2/examples \
/usr/share/doc/libboost-date-time1.58-dev/data \
/usr/share/doc/libexpat1-dev/examples \
/usr/share/doc/libexpat1-dev/expat.html \
/usr/share/doc/libfreetype6/css \
/usr/share/doc/libfreetype6/design \
/usr/share/doc/libfreetype6/reference \
/usr/share/doc/libfreetype6/tutorials \
/usr/share/doc/libfreetype6/image \
/usr/share/doc/libfreetype6/glyphs \
/usr/share/doc/libicu-dev/examples \
/usr/share/doc/libogg-dev/html \
/usr/share/doc/libvorbis-dev/html