Commit 55b370ac authored by Greg Taylor's avatar Greg Taylor

Working wheel install and pip/setuptools upgrade into .drone.yml and Dockerfile.

parent b67e40a7
...@@ -5,6 +5,7 @@ cache: ...@@ -5,6 +5,7 @@ cache:
build: build:
image: python:3.5.1-alpine image: python:3.5.1-alpine
commands: commands:
- pip install --upgrade pip setuptools wheel
- pip wheel -r requirements.txt --wheel-dir=wheeldir --find-links=wheeldir - pip wheel -r requirements.txt --wheel-dir=wheeldir --find-links=wheeldir
- pip wheel -r test-requirements.txt --wheel-dir=wheeldir --find-links=wheeldir - pip wheel -r test-requirements.txt --wheel-dir=wheeldir --find-links=wheeldir
- pip install --use-wheel --no-index --find-links=wheeldir -r requirements.txt - pip install --use-wheel --no-index --find-links=wheeldir -r requirements.txt
......
FROM python:3.5.1-alpine FROM python:3.5.1-alpine
MAINTAINER Greg Taylor <[email protected]> MAINTAINER Greg Taylor <[email protected]>
RUN pip install --upgrade pip setuptools wheel
COPY wheeldir /opt/app/wheeldir COPY wheeldir /opt/app/wheeldir
# These are copied and installed first in order to take maximum advantage # These are copied and installed first in order to take maximum advantage
# of Docker layer caching (if enabled). # of Docker layer caching (if enabled).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment