aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-sanity/Dockerfile
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2017-09-12 14:11:48 +0300
committerMichael Lando <ml636r@att.com>2017-09-20 13:22:07 +0300
commit9dde926417f80d93f4159be8164ed5b3d8790a75 (patch)
tree0df8a81a29b85c66c1e18dbedf8bf5b66526bf8c /sdc-os-chef/sdc-sanity/Dockerfile
parent0ad3c80822671529393e551bbb7b4a69dbd8550e (diff)
Build sanity docker execute automation
Change-Id: Iab282ea167d12fba4a3f425a5d300397ab435b44 Issue-Id: SDC-315 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'sdc-os-chef/sdc-sanity/Dockerfile')
-rw-r--r--sdc-os-chef/sdc-sanity/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sdc-os-chef/sdc-sanity/Dockerfile b/sdc-os-chef/sdc-sanity/Dockerfile
index ea137b401b..38bf26641e 100644
--- a/sdc-os-chef/sdc-sanity/Dockerfile
+++ b/sdc-os-chef/sdc-sanity/Dockerfile
@@ -4,6 +4,13 @@ COPY chef-solo /root/chef-solo/
COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/
+
+ENV TESTS_BASE /var/lib/tests
+RUN mkdir -p "$TESTS_BASE"
+WORKDIR $TESTS_BASE
+
+ADD test-apis-ci-*.jar ${TESTS_BASE}/
+
COPY startup.sh /root/
RUN chmod 770 /root/startup.sh