Skip to content

Commit

Permalink
Merge pull request #3194 from camptocamp/make-pull
Browse files Browse the repository at this point in the history
Add make pull
  • Loading branch information
sbrunner committed Oct 26, 2017
2 parents c1f35f4 + 4bfaaca commit 966d888
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ help:
@echo
@echo "Main targets:"
@echo
@echo "- pull Pull all the needed Docker images"
@echo "- build Build and configure the project"
@echo "- buildall Build, check and test the project"
@echo "- doc Build the project documentation"
Expand All @@ -71,6 +72,10 @@ help:
@echo "- cleanall Remove all the build artefacts"
@echo "- transifex-send Send the localisation to Transifex"

.PHONY: pull
pull:
for image in `find -name Dockerfile | xargs grep --no-filename FROM | awk '{print $$2}' | sort -u`; do docker pull $$image; done

.PHONY: build
build: $(MAKO_FILES:.mako=) \
c2c-egg \
Expand Down
2 changes: 1 addition & 1 deletion docker/test-mapserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM camptocamp/mapserver
FROM camptocamp/mapserver:7.0
LABEL maintainer Camptocamp "info@camptocamp.com"
COPY *.map /etc/mapserver/

0 comments on commit 966d888

Please sign in to comment.