mirror_frr/tests/topotests/docker/build.sh
famfo d87ec38dfd
topotests: Allow runing under both docker and podman
Signed-off-by: famfo <famfo@famfo.xyz>
2024-11-28 14:59:29 +01:00

12 lines
270 B
Bash
Executable File

#!/usr/bin/env bash
# SPDX-License-Identifier: MIT
#
# Copyright 2018 Network Device Education Foundation, Inc. ("NetDEF")
cd "$(dirname "$0")"/..
exec $(command -v docker || command -v podman) build --pull \
--compress \
-t frrouting/topotests:latest \
.