Loading docker.py +2 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,8 @@ def image_create(): if '{}/drupal'.format(env.project_name) in docker_images(): print(red('Docker image {}/drupal was found, you has already build this image'.format(env.project_name))) else: local('docker build -t {}/drupal .'.format(env.project_name)) dockerfile = h.fab_path('Dockerfile') local('docker build -t {}/drupal -f {} .'.format(env.project_name, dockerfile)) print(green('Docker image {}/drupal was build successful'.format(env.project_name))) Loading Loading
docker.py +2 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,8 @@ def image_create(): if '{}/drupal'.format(env.project_name) in docker_images(): print(red('Docker image {}/drupal was found, you has already build this image'.format(env.project_name))) else: local('docker build -t {}/drupal .'.format(env.project_name)) dockerfile = h.fab_path('Dockerfile') local('docker build -t {}/drupal -f {} .'.format(env.project_name, dockerfile)) print(green('Docker image {}/drupal was build successful'.format(env.project_name))) Loading