3 RUN export DEBIAN_FRONTEND=noninteractive \
5 && apt-get install -y \
44 && rm -rf /var/lib/apt/lists/*
46 RUN export DEBIAN_FRONTEND=noninteractive \
47 && apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5418F291D0D4A1AA \
48 && echo "deb https://deb.frrouting.org/frr bionic frr-stable" > /etc/apt/sources.list.d/frr.list \
50 && apt-get install -y libyang-dev \
51 && rm -rf /var/lib/apt/lists/*
53 RUN groupadd -r -g 92 frr \
54 && groupadd -r -g 85 frrvty \
55 && useradd -c "FRRouting suite" \
62 && useradd -d /var/run/exabgp/ \
67 RUN echo "" >> /etc/security/limits.conf; \
68 echo "* soft core unlimited" >> /etc/security/limits.conf; \
69 echo "root soft core unlimited" >> /etc/security/limits.conf; \
70 echo "* hard core unlimited" >> /etc/security/limits.conf; \
71 echo "root hard core unlimited" >> /etc/security/limits.conf
73 # Copy run scripts to facilitate users wanting to run the tests
74 COPY docker/inner /opt/topotests
76 ENV PATH "$PATH:/opt/topotests"
78 RUN echo "cat /opt/topotests/motd.txt" >> /root/.profile && \
79 echo "export PS1='(topotests) $PS1'" >> /root/.profile
81 ENTRYPOINT [ "bash", "/opt/topotests/entrypoint.sh" ]