Created
December 4, 2018 17:38
-
-
Save tomfaulhaber/ed3c9f80db24e2e68f7c05dcd5c67af7 to your computer and use it in GitHub Desktop.
detox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker build -t tox-runner . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dir=$(git rev-parse --show-toplevel) | |
docker run -it --rm -v ${dir}:${dir} -w ${dir} -v ${HOME}/.aws:/root/.aws tox-runner tox $* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
RUN apt-get -y update && apt-get install -y --no-install-recommends \ | |
wget \ | |
python \ | |
python-dev \ | |
python3.5 \ | |
python3.5-dev \ | |
gcc \ | |
ca-certificates | |
RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py | |
RUN pip install virtualenv tox pytest pytest-cov pytest-concurrent flake8 | |
WORKDIR /work | |
ENV PYTHONUNBUFFERED TRUE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment