File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # Image name: faucet/test-host
2+
3+ # Note that mininet is extremeley persnickity about the underlying versions, since small changes in
4+ # command output will break the mininet parsing. E.g., different verions of 'ping' will have slightly
5+ # different output that cause the tests to fail (on debian). Or, on alpine the '/bin/sh' program
6+ # would output excess control-characters that confused mininet yet again.
7+ #
8+ # This host is built on top of ubuntu which is the same as the base-test image so should be most stable.
9+ #
10+
11+ FROM ubuntu:latest
12+
13+ RUN apt-get update && apt-get install -y net-tools iproute2 iputils-ping
14+
15+ # Add a marker in so that the unit tests can tell this is a container.
16+ RUN echo faucet-test-host > /root/test_marker.txt
17+
18+ # Cmd to run when activated
19+ CMD echo hello faucet
Original file line number Diff line number Diff line change 1+ Faucet Test Host Docker Image
2+ =============================
3+
4+ This is the test host image used for the `faucet project <https://faucet.nz >`_ testsuite.
5+
6+ Pull from Docker Hub
7+ --------------------
8+
9+ Built images are available on Docker Hub so that you don't need to build your own.
10+
11+ Images are available for the following architectures:
12+
13+ * `amd64 <https://hub.docker.com/r/faucet/test-host/ >`_
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # We need qemu-user-static for arm/pi builds
4+ docker run --rm --privileged multiarch/qemu-user-static:register --reset
You can’t perform that action at this time.
0 commit comments