-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile.fedora.common
129 lines (110 loc) · 2.84 KB
/
Dockerfile.fedora.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
#
# 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 redhat family commands to install necessary files.
#
RUN dnf groupinstall -y 'Development Tools'
RUN dnf install -y \
bzip2 \
clang \
cmake \
cppcheck \
curl \
file \
gcc-c++ \
gdb \
git \
lcov \
libasan \
libcxx \
libcxx-devel \
libcxxabi-devel \
libubsan \
libxslt \
sudo \
util-linux-user \
unzip \
which \
valgrind \
vim \
wget
#################################################################
## Boost Library Dependencies
## Do not "de-dupe" - this is a canonical list of dependencies!
#################################################################
# asio
RUN dnf install -y \
openssl-devel
# beast
RUN dnf install -y \
openssl-devel \
zlib-devel
# gil
RUN dnf install -y \
libjpeg-devel \
libpng-devel \
libtiff-devel \
zlib-devel
# integer
RUN dnf install -y \
gmp-devel
# interval (for one disabled example)
RUN dnf install -y \
gmp-devel \
mpfr-devel
# iostreams
RUN dnf install -y \
bzip2-devel \
xz-devel \
zlib-devel \
libzstd-devel
# locale
RUN dnf install -y \
libicu-devel
# mpi
RUN dnf install -y \
mpich-devel \
openmpi-devel
# python
RUN dnf install -y \
python3-devel
# stacktrace
RUN mkdir -p /usr/local/src && \
cd /usr/local/src && \
git clone https://github.com/ianlancetaylor/libbacktrace.git && \
cd libbacktrace && \
CFLAGS=-fPIC ./configure --enable-shared && \
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 dnf install -y \
libxslt-devel \
doxygen \
java-11-openjdk-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