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