Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker-compose build errors #106

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
sudo: required

language: python

services:
- docker

env:
- DOCKER_COMPOSE_VERSION=1.21.1

before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin

install:
- pip install -r requirements-dev.txt

script:
- bash tests/scripts/unit_tests.sh
- travis_wait docker-compose build
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ libtool \
python-dev \
jq \
g++ \
make
make \
freetype-dev

# clone the repo && Install pre-reqs for pyjq
COPY . /opt/cloudmapper

RUN pip install pipenv && pipenv --two && pipenv install
RUN pip install pipenv && pipenv --two && PIP_NO_BUILD_ISOLATION=false pipenv install
RUN chmod +x entrypoint.sh && touch config.json


Expand Down