blob: 0eb3f30420d14e5e0e32cd5870d45c50a9a52a5a [file] [log] [blame]
FROM ubuntu:14.04
MAINTAINER jono@opennetworking.org
RUN apt-get update && \
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
#libreadline-gplv2-dev
RUN mkdir /quagga
COPY . /quagga/
WORKDIR /quagga
RUN autoreconf -f -i && \
./configure --enable-fpm --prefix=/usr && \
make && \
make install
EXPOSE 179 2601 2605
WORKDIR /
ADD docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ENTRYPOINT ["/usr/bin/supervisord"]