forked from davejohncole/kea_python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfileDev
41 lines (39 loc) · 1010 Bytes
/
DockerfileDev
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
FROM ubuntu:21.04
ARG VER
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /source
COPY kea-$VER.tar.gz .
COPY apt2 /etc/apt/sources.list
RUN apt-get update -y \
&& apt-get -y install --no-install-recommends \
procps \
make \
socat \
g++ \
gdb \
libffi-dev \
libboost-dev \
libboost-system-dev \
libssl-dev \
liblog4cplus-dev \
libpython3-dev \
python3 \
python3-distutils \
python3-nose \
python3-setuptools \
libpq-dev \
postgresql-server-dev-all \
libmariadb-dev \
libmariadb-dev-compat \
&& tar xzf kea-$VER.tar.gz \
&& cd kea-$VER \
&& ./configure \
--enable-shell \
--with-site-packages=/usr/lib/python3/dist-packages \
--enable-perfdhcp \
--enable-generate-messages \
--with-mysql=/usr/bin/mysql_config \
--with-pgsql=/usr/bin/pg_config \
&& make \
&& make install \
&& ldconfig