This repository has been archived by the owner on Dec 31, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix a couple bugs; can test locally; closes #588
- Loading branch information
Showing
4 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,31 @@ | ||
FROM elasticsearch:2-alpine | ||
FROM rabbitmq:3-management | ||
FROM redis:alpine | ||
FROM alpine:3.6 | ||
FROM ubuntu:latest | ||
MAINTAINER Charlie Lewis <clewis@iqt.org> | ||
|
||
RUN apk add --update \ | ||
docker \ | ||
RUN apt-get update && apt-get install -y \ | ||
apt-transport-https \ | ||
ca-certificates \ | ||
curl \ | ||
git \ | ||
make \ | ||
python \ | ||
py2-pip \ | ||
&& rm -rf /var/cache/apk/* | ||
python-pip \ | ||
software-properties-common | ||
|
||
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | ||
RUN add-apt-repository \ | ||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | ||
$(lsb_release -cs) \ | ||
stable" | ||
|
||
RUN apt-get update && apt-get install -y docker-ce | ||
|
||
ADD . /vent | ||
WORKDIR /vent | ||
RUN pip install -r tests/requirements.txt | ||
RUN python2.7 setup.py install | ||
|
||
ENTRYPOINT ["make"] | ||
CMD ["test"] | ||
ENTRYPOINT ["pytest"] | ||
CMD ["-l", "-s", "-v", "--cov=.", "-k", "'not vendor'", "--cov-report", "term-missing"] |
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
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
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