Revert "tests/topotests: Change docker build context"

This reverts commit 659782730b.

Apparently, the build context is inferred from the Dockerfile path.
Yay for sensible documentation. :/

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
This commit is contained in:
Christian Franke 2018-12-01 19:40:38 +01:00
parent d801bfae85
commit 54b60cf9b0
2 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -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 \
.