3 RUN export DEBIAN_FRONTEND=noninteractive \
5 && apt-get install -y \
43 && wget -q https://ci1.netdef.org/artifact/LIBYANG-YANGRELEASE/shared/build-1/Ubuntu-18.04-x86_64-Packages/libyang-dev_0.16.46_amd64.deb \
45 && wget -q https://ci1.netdef.org/artifact/LIBYANG-YANGRELEASE/shared/build-1/Ubuntu-18.04-x86_64-Packages/libyang_0.16.46_amd64.deb \
47 && echo "039252cc66eb254a97e160b1c325af669470cde8a02d73ec9f7b920ed3c7997c libyang.deb" | sha256sum -c - \
48 && echo "e7e2d5bfc7b33b3218df8bef404432970f9b4ad10d6dbbdcb0e0be2babbb68e9 libyang-dev.deb" | sha256sum -c - \
49 && dpkg -i libyang*.deb \
52 RUN groupadd -r -g 92 frr \
53 && groupadd -r -g 85 frrvty \
54 && useradd -c "FRRouting suite" \
61 && useradd -d /var/run/exabgp/ \
66 RUN echo "" >> /etc/security/limits.conf; \
67 echo "* soft core unlimited" >> /etc/security/limits.conf; \
68 echo "root soft core unlimited" >> /etc/security/limits.conf; \
69 echo "* hard core unlimited" >> /etc/security/limits.conf; \
70 echo "root hard core unlimited" >> /etc/security/limits.conf
72 # Copy run scripts to facilitate users wanting to run the tests
73 COPY docker/inner /opt/topotests
75 ENV PATH "$PATH:/opt/topotests"
77 RUN echo "cat /opt/topotests/motd.txt" >> /root/.profile && \
78 echo "export PS1='(topotests) $PS1'" >> /root/.profile
80 ENTRYPOINT [ "bash", "/opt/topotests/entrypoint.sh" ]