-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17525 from famfo/podman-tests
topotests: Allow runing under both docker and podman
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# SPDX-License-Identifier: MIT | ||
# | ||
# Copyright 2018 Network Device Education Foundation, Inc. ("NetDEF") | ||
|
||
cd "$(dirname "$0")"/.. | ||
|
||
exec docker build --pull \ | ||
exec $(command -v docker || command -v podman) build --pull \ | ||
--compress \ | ||
-t frrouting/topotests:latest \ | ||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters