summaryrefslogtreecommitdiffstats
path: root/tests/topotests/docker
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-12-01 16:54:58 +0100
committerChristian Franke <chris@opensourcerouting.org>2018-12-01 16:54:58 +0100
commit659782730bffea2d21e2fa22550db3166017061e (patch)
treefdcd391af3cf19131f559e85123497f881c4cbb5 /tests/topotests/docker
parenttests/topotests: Update documentation (diff)
downloadfrr-659782730bffea2d21e2fa22550db3166017061e.tar.xz
frr-659782730bffea2d21e2fa22550db3166017061e.zip
tests/topotests: Change docker build context
In order to support automated builds, the build context needs to be the repository root. So adapt our dockerfile and buildscript for this. Also, add files which should not be included into the build context in .dockerignore to limit the size of the build context to something sensible. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'tests/topotests/docker')
-rwxr-xr-xtests/topotests/docker/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/topotests/docker/build.sh b/tests/topotests/docker/build.sh
index 344fb2ffc..3bb6dbaad 100755
--- a/tests/topotests/docker/build.sh
+++ b/tests/topotests/docker/build.sh
@@ -22,9 +22,10 @@
# 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 \
.