blob: 7b202f3831d97e5d130a95df0fffe02631542a25 [file] [log] [blame]
Jonathan Harte2a89792017-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
7RUN mkdir /quagga
8COPY . /quagga/
9WORKDIR /quagga
10RUN autoreconf -f -i && \
11 ./configure --enable-fpm --prefix=/usr && \
12 make && \
13 make install
14
15EXPOSE 179 2601 2605
16
17WORKDIR /
18ADD docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
19ENTRYPOINT ["/usr/bin/supervisord"]
20