Skip to content
Snippets Groups Projects
Commit dd355bcdf9f0 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:pencil: use variable to control if base image should be pulled

parent 0de493c9e6a6
No related branches found
No related tags found
No related merge requests found
......@@ -174,4 +174,5 @@
# TODO remove temp image
docker_client = docker_api(base_url='unix://var/run/docker.sock')
pull = True
builder = docker_client.build(
......@@ -177,5 +178,5 @@
builder = docker_client.build(
path='.', rm=True, pull=True, buildargs=buildargs,
path='.', rm=True, pull=pull, buildargs=buildargs,
tag=image, dockerfile=dockerfile)
# this is for python docker 1.8-1.9
# TODO add compatibility with newer python docker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment