From 0f2039f79dbf473da3c41c5ca4cd889db948cbb1 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Mon, 25 Feb 2019 16:30:05 -0600 Subject: [PATCH] Create a flag to identify when running inside testbed --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index ee29bf2..622932a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,9 @@ RUN pip3 install envtpl pytest==3.6.4 pylint==1.9.2 flake8==3.5.0 # Force GNUPG version 1 at path /usr/bin/gpg RUN ln -fs /usr/bin/gpg1 /usr/bin/gpg +# Create a flag to identify when running inside the yadm testbed +RUN touch /.yadmtestbed + # /yadm will be the work directory for all tests # docker commands should mount the local yadm project as /yadm WORKDIR /yadm