ansible-eole/Makefile

29 lines
772 B
Makefile

eole-2.6.2:
docker build \
--build-arg HTTP_PROXY=$(HTTP_PROXY) \
--build-arg HTTPS_PROXY=$(HTTPS_PROXY) \
--build-arg http_proxy=$(http_proxy) \
--build-arg https_proxy=$(https_proxy) \
-t eolebase-2.6.2:latest \
./misc/eole-2.6.2
ansible-eole: eole-2.6.2
docker build \
--build-arg HTTP_PROXY=$(HTTP_PROXY) \
--build-arg HTTPS_PROXY=$(HTTPS_PROXY) \
--build-arg http_proxy=$(http_proxy) \
--build-arg https_proxy=$(https_proxy) \
-t ansible-eole:latest \
./misc/ansible-eole
dev-env:
docker run \
-it \
--rm \
-v "$(PWD)/src/eole_config.py:/ansible/lib/ansible/modules/system/eole_config.py:ro" \
-v "$(PWD)/testdata:/testdata:ro" \
--network host \
--name ansible-creole-dev-env \
ansible-eole
.PHONY: eole-2.6.2 ansible-eole