Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos-loxi
/
6ea666abca0265a2d7c313ddebe7c159de97ff49
/
.
/
docker.sh
blob: ccb2101b3bf43e6f768dc73c2770b581ecaf4f30 [
file
] [
log
] [
blame
]
#!/bin/bash
if
[
-
t
1
];
then
tty_flag
=
"-t"
else
tty_flag
=
""
fi
dir
=
$
(
python
-
c
'import os; import sys; print os.path.abspath(sys.argv[1])'
$
(
dirname
"$0"
))
docker run
-
i $tty_flag
--
rm
-
v $dir
:/
loxi floodlight
/
loxi
-
builder
-
ubuntu14
"$@"