From 992ed02d037a03f7ae865225e5c3cfa40a20700d Mon Sep 17 00:00:00 2001 From: Jason Walker Date: Tue, 30 Apr 2019 16:31:37 -0400 Subject: [PATCH 1/2] Bumped tox version and added required libraries --- dev-requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 8ef288ec..4d1c5759 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1 +1,3 @@ -tox==2.9.1 +tox==3.8.6 +click==7.0 +tabulate==0.8.3 From 24164759adc7c10eeff23093fce4c417c257c54e Mon Sep 17 00:00:00 2001 From: Jason Walker Date: Tue, 30 Apr 2019 16:32:10 -0400 Subject: [PATCH 2/2] Installed tox-requirements.txt before install and removed after --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 190ad6ef..aa0003c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,13 @@ WORKDIR /usr/src/databricks-cli COPY . . RUN pip install --upgrade pip && \ - pip install -r dev-requirements.txt && \ + pip install \ + -r dev-requirements.txt \ + -r tox-requirements.txt && \ pip list && \ ./lint.sh && \ pip install . && \ - pytest tests + pytest tests && \ + pip uninstall -y -r tox-requirements.txt ENTRYPOINT [ "databricks" ]