diff --git a/tests/topotests/Dockerfile b/tests/topotests/Dockerfile index 3613e23a6e..72a876ed83 100644 --- a/tests/topotests/Dockerfile +++ b/tests/topotests/Dockerfile @@ -70,7 +70,7 @@ RUN echo "" >> /etc/security/limits.conf; \ echo "root hard core unlimited" >> /etc/security/limits.conf # Copy run scripts to facilitate users wanting to run the tests -COPY tests/topotests/docker/inner /opt/topotests +COPY docker/inner /opt/topotests WORKDIR /root/topotests ENV PATH "$PATH:/opt/topotests" diff --git a/tests/topotests/docker/build.sh b/tests/topotests/docker/build.sh index 3bb6dbaad8..344fb2ffcb 100755 --- a/tests/topotests/docker/build.sh +++ b/tests/topotests/docker/build.sh @@ -22,10 +22,9 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cd "$(dirname "$0")"/../../.. +cd "$(dirname "$0")"/.. exec docker build --pull \ --compress \ -t frrouting/frr:topotests-latest \ - -f tests/topotests/Dockerfile \ .