Commit 692e45c7 authored by Ernesto Rodriguez Ortiz's avatar Ernesto Rodriguez Ortiz
Browse files

Update the fabfile.py file to don't check any more for the existence of the...

Update the fabfile.py file to don't check any more for the existence of the image sflinux/baseimage, using now the savoirfairelinux/lampd from https://registry.hub.docker.com/u/savoirfairelinux/lampd/
Refs:#77717
parent a526f92b
......@@ -243,13 +243,9 @@ def docker_create_image(role='local'):
with fab_cd(role, WORKSPACE):
if '{}/drupal'.format(PROJECT_NAME) in docker_images():
print(red('Docker image {}/drupal was found, you has already build this image'.format(PROJECT_NAME)))
elif 'sflinux/baseimage' in docker_images():
else:
fab_run(role, 'docker build -t {}/drupal .'.format(PROJECT_NAME))
print(green('Docker image {}/drupal was build successful'.format(PROJECT_NAME)))
else:
print(red('Docker image "sflinux/baseimage" not found and is a requirement to build the {}/drupal. '
'Please read carefully the README.md and install all the requirements'.format(PROJECT_NAME)))
@task(alias='crun')
@roles('local')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment