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