Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=native-instruments.de; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+CmTvH2f7Mhk42uty7wTffUjTxCkmYOer3rjCMg0qro=; b=Eqdn5yyxYTvyCFehLMwzcRjTiWvX1FN54GdxVyJhaLXAhyE2HOYyUGCa4R2At4hMdX Y6sL4dK4H5JOyRtNZyLLn1A8kv9wMFQidOWU4vxOz3N3OBbQJPH+8WAKMZ6BFC8ZZU++ oc9GHw+/Lhl8D/YwRg7OVji2JNvFC/ST8+ENvwBQmGWg2C5+NWB5U1+TSqYzFNPLiYga hpRJ0Ynlkc1qFybTdfcBQpnGp3fa2SJ6xAPUnxG8l1BqlRVUKHHUhzvjdrGPVxhil1qH UnT7k3cQgT+Ohmrj+g8/OH3TSv/7yUXgWWUe5x3EINK+yCBIEemjKM9IwksODfP9PdA4 YmsQ== From: Laszlo Sitzer Date: Tue, 14 Jul 2020 14:02:13 +0200 Message-Id: <20200714120214.552091-1-laszlo.sitzer@native-instruments.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Fuego] [PATCH 1/2] fuego-host-scripts: Have docker executable and libltdl7 in container List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fuego@lists.linuxfoundation.org Cc: Laszlo Sitzer This is one step towards fixing Functional.fuego_release_test which is currently broken. In order to start fixing it, I made /usr/bin/docker available in the container by bind-mounting it. To be able to execute the docker command-line client libltdl7 had to be installed into the container. Signed-off-by: Laszlo Sitzer --- Dockerfile | 5 +++++ fuego-host-scripts/docker-create-container.sh | 1 + 2 files changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index f42b6c7..e6b7af4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,6 +69,11 @@ RUN apt-get -q=2 -V --no-install-recommends install \ netpipe-tcp iputils-ping RUN pip install flake8 +# Fuego release test dependencies +# - libltdl7 - needed for /usr/bin/docker +RUN apt-get -q=2 -V --no-install-recommends install \ + libltdl7 + # miscelaneous packages: # python-serial - used by serio # diffstat and vim - used by Tim diff --git a/fuego-host-scripts/docker-create-container.sh b/fuego-host-scripts/docker-create-container.sh index c122cd9..d7844e6 100755 --- a/fuego-host-scripts/docker-create-container.sh +++ b/fuego-host-scripts/docker-create-container.sh @@ -24,6 +24,7 @@ fi sudo docker create -it --name ${DOCKERCONTAINER} \ -v /var/run/docker.sock:/var/run/docker.sock \ + -v /usr/bin/docker:/usr/bin/docker \ -v /boot:/boot:ro \ -v $DIR/../fuego-rw:/fuego-rw \ -v $DIR/../fuego-ro:/fuego-ro:ro \ -- 2.27.0