Skip to content

Commit

Permalink
Change build oder of images as elastica-image must be built after loc…
Browse files Browse the repository at this point in the history
…al dev-image as it depends on ti.
  • Loading branch information
ruflin committed Aug 7, 2015
1 parent 28869ac commit 9a7bc39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ build:
setup: build
docker-compose scale elasticsearch=3
# TODO: Makes the snapshot directory writable for all instances. Nicer solution needed.
docker-compose run elasticsearch chmod -R 777 /mount/
docker-compose run elasticsearch chmod -R 777 /tmp/

start:
docker-compose up
Expand Down Expand Up @@ -124,11 +124,11 @@ elastica-image:

# Builds all image locally. This can be used to use local images if changes are made locally to the Dockerfiles
build-images:
make elastica-image
docker build -t ruflin/elastica-dev-base env/elastica/
docker build -t ruflin/elasticsearch-elastica env/elasticsearch/
docker build -t ruflin/nginx-elastica env/nginx/
docker build -t ruflin/elastica-data env/data/
make elastica-image

# Removes all local images
clean-images:
Expand Down

0 comments on commit 9a7bc39

Please sign in to comment.