Tested, build successfully and can be RUN with ENV parameters.
The logical of entrypoint.sh:
If (DATABASE_TYPE = local)
start mariadb, create azurelocaldb if not exist.
Endif
If (wordpress isn’t exist)
Unzip wordpress.
If (DATABASE_TYPE=local)
Setup wp-config.php.
Endif
Endif
These Env parameters can be set with “docker run -e” cmd:
Tested, build successfully and can be RUN with ENV parameters.
The logical of entrypoint.sh:
These Env parameters can be set with “docker run -e” cmd:
phpmyadmin username and password:
Wordpress paramters: