Skip to content

Commit

Permalink
upgrading numpy to try and fix the warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-johnson committed Aug 12, 2018
1 parent fa6df37 commit 507a697
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ script:
- python manage.py test

after_success:
- export USE_VERSION=1.3.8
- export USE_VERSION=1.3.9
- echo "Building Docker images with tag=${USE_VERSION}"
- echo "Test Success - Branch=${TRAVIS_BRANCH} Version=${USE_VERSION} Pull Request=${TRAVIS_PULL_REQUEST} Tag=${TRAVIS_TAG}"
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then echo -e "Push Container to Docker Hub"; fi
Expand Down
13 changes: 11 additions & 2 deletions docker/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM jayjohnson/ai-core:latest

RUN echo "creating project directories" \
RUN echo "preparing image and building" \
&& mkdir -p -m 777 /var/log/antinex/api \
&& mkdir -p -m 777 /opt/antinex \
&& chmod 777 //var/log/antinex/api \
Expand All @@ -21,7 +21,16 @@ RUN echo "creating project directories" \
&& pip install --upgrade -r /opt/antinex/api/requirements.txt \
&& echo "building docs" \
&& cd /opt/antinex/api/webapp/drf_network_pipeline/docs \
&& pip install -r /opt/antinex/api/webapp/drf_network_pipeline/docs/doc-requirements.txt \
&& pip install -r /opt/antinex/api/webapp/drf_network_pipeline/docs/doc-requirements.txt

RUN echo "Downgrading numpy and setuptools for tensorflow" \
&& . /opt/venv/bin/activate \
&& pip install --upgrade numpy==1.14.5 \
&& pip install --upgrade setuptools==39.1.0

RUN echo "Making Sphinx docs" \
&& . /opt/venv/bin/activate \
&& cd /opt/antinex/api/webapp/drf_network_pipeline/docs \
&& ls -l \
&& make html

Expand Down
13 changes: 11 additions & 2 deletions docker/worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM jayjohnson/ai-core:latest

RUN echo "creating project directories" \
RUN echo "preparing image and building" \
&& mkdir -p -m 777 /var/log/antinex/api \
&& mkdir -p -m 777 /opt/antinex \
&& chmod 777 //var/log/antinex/api \
Expand All @@ -21,7 +21,16 @@ RUN echo "creating project directories" \
&& pip install --upgrade -r /opt/antinex/api/requirements.txt \
&& echo "building docs" \
&& cd /opt/antinex/api/webapp/drf_network_pipeline/docs \
&& pip install -r /opt/antinex/api/webapp/drf_network_pipeline/docs/doc-requirements.txt \
&& pip install -r /opt/antinex/api/webapp/drf_network_pipeline/docs/doc-requirements.txt

RUN echo "Downgrading numpy and setuptools for tensorflow" \
&& . /opt/venv/bin/activate \
&& pip install --upgrade numpy==1.14.5 \
&& pip install --upgrade setuptools==39.1.0

RUN echo "Making Sphinx docs" \
&& . /opt/venv/bin/activate \
&& cd /opt/antinex/api/webapp/drf_network_pipeline/docs \
&& ls -l \
&& make html

Expand Down

0 comments on commit 507a697

Please sign in to comment.