-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile.ubuntu.common
144 lines (118 loc) · 3.26 KB
/
Dockerfile.ubuntu.common
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#
# Copyright (c) 2018 - 2024 James E. King III
#
# Use, modification, and distribution are subject to the
# Boost Software License, Version 1.0. (See accompanying file
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Boost Docker Development Environment
#
# Common dependencies for ubuntu.
#
ENV DEBIAN_FRONTEND=noninteractive
# Load apt-utils first, fixes warnings
RUN apt-get update && \
apt-get install -y --no-install-recommends \
apt-utils
# Basic utilities
RUN apt-get install -y --no-install-recommends \
bash-completion \
bzip2 \
ca-certificates \
curl \
file \
git \
gpg-agent \
patch \
procps \
software-properties-common \
sudo \
unzip \
vim \
wget
# C++
RUN apt-get install -y \
build-essential \
clang \
cmake \
cppcheck \
gcc \
g++ \
gdb \
lcov \
libc6-dbg \
libc++-dev \
libc++abi-dev \
valgrind
#################################################################
## Boost Library Dependencies
## Do not "de-dupe" - this is a canonical list of dependencies!
#################################################################
# asio
RUN apt-get install -y --no-install-recommends \
libssl-dev
# beast
RUN apt-get install -y --no-install-recommends \
libssl-dev \
zlib1g-dev
# gil
RUN apt-get install -y --no-install-recommends \
libjpeg-dev \
libpng-dev \
libtiff-dev \
zlib1g-dev
# integer
RUN apt-get install -y --no-install-recommends \
libgmp-dev
# interval (for one disabled example)
RUN apt-get install -y --no-install-recommends \
libgmp-dev \
libmpfr-dev
# iostreams
RUN apt-get install -y --no-install-recommends \
libbz2-dev \
liblzma-dev \
libzstd-dev \
zlib1g-dev
# locale
RUN apt-get install -y --no-install-recommends \
libicu-dev
# mpi
RUN apt-get install -y --no-install-recommends \
libopenmpi-dev
# python
RUN apt-get install -y --no-install-recommends \
python3-dev
# stacktrace
RUN cd /usr/local/src && \
git clone https://github.com/ianlancetaylor/libbacktrace.git && \
cd libbacktrace && \
./configure && \
make -j3 install && \
cd .. && \
rm -rf libbacktrace
# sync
# pthread-win32, but not on Unix
# thread
# pthread-win32, but not on Unix
#################################################################
# Prerequisites for boostbook (does what setup_boostbook.sh does)
# for documentation builds to work
RUN apt-get install -y --no-install-recommends \
xsltproc \
doxygen \
openjdk-11-jre-headless
RUN cd /opt && \
wget --quiet http://sourceforge.net/projects/docbook/files/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.gz && \
tar xzf docbook-xsl-1.75.2.tar.gz && \
rm docbook-xsl-1.75.2.tar.gz
RUN cd /opt && \
mkdir docbook-dtd-4.2 && \
cd docbook-dtd-4.2 && \
wget --quiet http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip && \
unzip -q docbook-xml-4.2.zip && \
rm docbook-xml-4.2.zip
RUN cd /opt && \
wget --quiet http://archive.apache.org/dist/xmlgraphics/fop/binaries/fop-0.94-bin-jdk1.4.tar.gz && \
tar xzf fop-0.94-bin-jdk1.4.tar.gz && \
rm fop-0.94-bin-jdk1.4.tar.gz