3 RUN export DEBIAN_FRONTEND=noninteractive \
5 && apt-get install -y \
48 && rm -rf /var/lib/apt/lists/*
50 RUN export DEBIAN_FRONTEND=noninteractive \
51 && wget -qO- https://deb.frrouting.org/frr/keys.asc | apt-key add - \
52 && echo "deb https://deb.frrouting.org/frr bionic frr-stable" > /etc/apt/sources.list.d/frr.list \
54 && apt-get install -y libyang-dev \
55 && rm -rf /var/lib/apt/lists/*
57 RUN groupadd -r -g 92 frr \
58 && groupadd -r -g 85 frrvty \
59 && useradd -c "FRRouting suite" \
66 && useradd -d /var/run/exabgp/ \
71 RUN echo "" >> /etc/security/limits.conf; \
72 echo "* soft core unlimited" >> /etc/security/limits.conf; \
73 echo "root soft core unlimited" >> /etc/security/limits.conf; \
74 echo "* hard core unlimited" >> /etc/security/limits.conf; \
75 echo "root hard core unlimited" >> /etc/security/limits.conf
77 # Copy run scripts to facilitate users wanting to run the tests
78 COPY docker/inner /opt/topotests
80 ENV PATH "$PATH:/opt/topotests"
82 RUN echo "cat /opt/topotests/motd.txt" >> /root/.profile && \
83 echo "export PS1='(topotests) $PS1'" >> /root/.profile
85 ENTRYPOINT [ "bash", "/opt/topotests/entrypoint.sh" ]