blob: 0eb3f30420d14e5e0e32cd5870d45c50a9a52a5a [file] [log] [blame]
Jonathan Hartd4c331d2017-09-07 15:46:15 -07001FROM ubuntu:14.04
2MAINTAINER jono@opennetworking.org
3
4RUN apt-get update && \
5 apt-get install -qy --no-install-recommends telnet build-essential gawk wget texinfo supervisor iptables libreadline-gplv2-dev pkg-config libc-ares-dev autoconf automake libtool
6
7#libreadline-gplv2-dev
8
9RUN mkdir /quagga
10COPY . /quagga/
11WORKDIR /quagga
12RUN autoreconf -f -i && \
13 ./configure --enable-fpm --prefix=/usr && \
14 make && \
15 make install
16
17EXPOSE 179 2601 2605
18
19WORKDIR /
20ADD docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
21ENTRYPOINT ["/usr/bin/supervisord"]
22