Dockerfile 1.2 KB
Newer Older
1
FROM @SOURCE_IMAGE@
2 3
MAINTAINER BIND 9 Developers <bind9-dev@isc.org>
ENV DEBIAN_FRONTEND noninteractive
4 5 6
ENV ATF_VERSION 0.21
ENV LUTOK_VERSION 0.4
ENV KYUA_VERSION 0.13
7 8 9 10 11 12 13 14 15
RUN apt-get -y update
RUN apt-get -y dist-upgrade
RUN apt-get -y install	\
	autoconf	\
	automake	\
	autotools-dev	\
	bash-completion	\
	bison		\
	build-essential	\
16
	curl		\
17 18 19 20 21 22 23
	git		\
	libcap2-dev	\
	libdb-dev	\
	libgeoip-dev	\
	libkrb5-dev	\
	libldap2-dev	\
	liblmdb-dev	\
24 25
	liblua5.1-0-dev	\
	liblua5.2-dev	\
26 27
	libnet-dns-perl	\
	libtool		\
28
	libsqlite3-dev	\
29 30 31
	libssl-dev	\
	libxml2-dev	\
	net-tools	\
32
	perl		\
33
	pkg-config	\
34 35
	procps		\
	sudo
36 37 38 39 40 41
RUN curl -sSL https://github.com/jmmv/atf/releases/download/atf-$ATF_VERSION/atf-$ATF_VERSION.tar.gz | tar -xz -C /usr/src
RUN cd /usr/src/atf-$ATF_VERSION && ./configure && make && make install
RUN curl -sSL https://github.com/jmmv/lutok/releases/download/lutok-$LUTOK_VERSION/lutok-$LUTOK_VERSION.tar.gz | tar -xz -C /usr/src
RUN cd /usr/src/lutok-$LUTOK_VERSION && ./configure && make && make install
RUN curl -sSL https://github.com/jmmv/kyua/releases/download/kyua-$KYUA_VERSION/kyua-$KYUA_VERSION.tar.gz | tar -xz -C /usr/src
RUN cd /usr/src/kyua-$KYUA_VERSION && ./configure && make && make install
42
RUN ldconfig