machine: services: - docker general: build_dir: ".docker" dependencies: cache_directories: - "~/docker" override: - docker info - if [[ -e ~/docker/image.tar ]]; then docker load --input ~/docker/image.tar; fi - docker build -t malice_engine . - mkdir -p ~/docker; docker save malice_engine > ~/docker/image.tar test: override: - docker run malice_engine -D --help deployment: # master: # branch: master # commands: # - eval $(docker run gliderlabs/pagebuilder circleci-cmd) release: branch: release commands: - make release