Jonathan Hart | d4c331d | 2017-09-07 15:46:15 -0700 | [diff] [blame^] | 1 | FROM ubuntu:14.04 |
| 2 | MAINTAINER jono@opennetworking.org |
| 3 | |
| 4 | RUN 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 | |
| 9 | RUN mkdir /quagga |
| 10 | COPY . /quagga/ |
| 11 | WORKDIR /quagga |
| 12 | RUN autoreconf -f -i && \ |
| 13 | ./configure --enable-fpm --prefix=/usr && \ |
| 14 | make && \ |
| 15 | make install |
| 16 | |
| 17 | EXPOSE 179 2601 2605 |
| 18 | |
| 19 | WORKDIR / |
| 20 | ADD docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf |
| 21 | ENTRYPOINT ["/usr/bin/supervisord"] |
| 22 | |