-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
78 lines (75 loc) · 3.07 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
FROM debian:latest
ENV TZ="UTC" \
DEBIAN_FRONTEND=noninteractive \
TERM=xterm-256color
WORKDIR /srv
RUN apt update -qq \
&& apt-get install -y -qq lsb-release gnupg git wget build-essential cmake gcc make apt-utils zip unzip tzdata libtool automake m4 re2c curl supervisor libssl-dev zlib1g-dev libcurl4-gnutls-dev libprotobuf-dev \
&& ln -fs /usr/share/zoneinfo/$TZ /etc/localtime \
&& dpkg-reconfigure -f noninteractive tzdata \
&& apt-get clean \
&& apt-get autoclean \
&& apt-get autoremove \
&& wget https://archives.boost.io/release/1.86.0/source/boost_1_86_0.tar.gz \
&& tar -xf boost_1_86_0.tar.gz \
&& cd boost_1_86_0 \
&& sh bootstrap.sh \
&& ./b2 install release variant=release debug-symbols=off optimization=speed \
--with-json \
--with-thread \
--with-headers \
--with-coroutine \
--with-iostreams \
--with-system \
--with-regex \
--with-system \
--with-serialization \
--with-program_options \
--with-exception \
--with-contract \
--with-container \
--with-context \
--with-chrono \
--with-locale \
--with-thread \
--with-test \
--with-timer \
--with-random \
--with-charconv \
--with-fiber \
--with-atomic \
--with-filesystem \
--with-date_time \
--with-url \
&& cd .. \
&& rm boost_1_86_0 -rf \
&& rm boost_1_86_0.tar.gz \
&& git clone https://github.com/trusch/libbcrypt \
&& cd libbcrypt \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make \
&& make install \
&& ldconfig \
&& cd .. \
&& cd .. \
&& rm libbcrypt -rf \
&& wget https://github.com/getsentry/sentry-native/releases/download/0.7.9/sentry-native.zip \
&& unzip sentry-native.zip -d sentry \
&& rm sentry-native.zip \
&& cd sentry \
&& cmake -B build -D SENTRY_BACKEND=crashpad -D CMAKE_BUILD_TYPE=Release \
&& cmake --build build --parallel \
&& cmake --install build \
&& cd .. \
&& rm sentry -rf \
&& git clone https://github.com/karastojko/mailio.git \
&& cd mailio \
&& cmake . -DMAILIO_BUILD_TESTS=OFF \
-DMAILIO_DYN_LINK_TESTS=OFF \
-DMAILIO_BUILD_EXAMPLES=OFF \
-DMAILIO_BUILD_DOCUMENTATION=OFF \
&& make install \
&& cd .. \
&& rm mailio -rf