forked from Mosasauroidea/Ocelot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.debug
33 lines (30 loc) · 888 Bytes
/
Dockerfile.debug
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
FROM debian:stretch-slim
COPY . /srv
WORKDIR /srv
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
build-essential \
automake \
cmake \
default-libmysqlclient-dev \
libboost-iostreams-dev \
libboost-system-dev \
libev-dev \
libjemalloc-dev \
libmysql++-dev \
default-libmysqlclient-dev \
mariadb-client \
pkg-config \
git
RUN ./configure CXXFLAGS=-D__DEBUG_BUILD__ --with-mysql-lib=/usr/lib/x86_64-linux-gnu/ \
--with-ev-lib=/usr/lib/x86_64-linux-gnu/ \
--with-boost-libdir=/usr/lib/x86_64-linux-gnu/
RUN make \
&& apt-get purge -y \
build-essential \
cmake \
pkg-config
RUN apt-get autoremove -y \
&& apt-get clean -y
RUN rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "/bin/bash", "/srv/entrypoint.sh" ]