diff --git a/templates/Dockerfile.twig b/templates/Dockerfile.twig index f5ff71d..c0428ee 100644 --- a/templates/Dockerfile.twig +++ b/templates/Dockerfile.twig @@ -9,9 +9,8 @@ ARG XDEBUG_VERSION {% endif %} LABEL org.opencontainers.image.title="juliangut/phpdev" \ - org.opencontainers.image.description="PHP/PHP-FPM/Jenkins Docker image for development/CI, based on Alpine Linux for minimal size" \ + org.opencontainers.image.description="{% block description %}{% endblock %}" \ org.opencontainers.image.url="https://github.com/juliangut/docker-phpdev" \ - org.opencontainers.image.source="https://github.com/juliangut/docker-phpdev/tree/master/dist/{{ variant }}/{{ version }}" \ org.opencontainers.image.revision="$VCS_REF" \ org.opencontainers.image.created="$BUILD_DATE" \ org.opencontainers.image.authors="Julián Gutiérrez (juliangut@gmail.com)" \ diff --git a/templates/cli/Dockerfile.twig b/templates/cli/Dockerfile.twig index 1118d8f..149f20d 100644 --- a/templates/cli/Dockerfile.twig +++ b/templates/cli/Dockerfile.twig @@ -1,5 +1,7 @@ {% extends "Dockerfile.twig" %} +{% block description %}PHP Docker image for development, based on Alpine Linux for minimal size{% endblock %} + {% block command %} CMD ["php", "-a"] {% endblock %} diff --git a/templates/fpm/Dockerfile.twig b/templates/fpm/Dockerfile.twig index 7e15087..131763b 100644 --- a/templates/fpm/Dockerfile.twig +++ b/templates/fpm/Dockerfile.twig @@ -1,5 +1,7 @@ {% extends "Dockerfile.twig" %} +{% block description %}PHP-FPM Docker image for development, based on Alpine Linux for minimal size{% endblock %} + {% block install %} fcgi \ {% endblock %} diff --git a/templates/jenkins/Dockerfile.twig b/templates/jenkins/Dockerfile.twig index bbbc28c..ffa0826 100644 --- a/templates/jenkins/Dockerfile.twig +++ b/templates/jenkins/Dockerfile.twig @@ -1,5 +1,7 @@ {% extends "Dockerfile.twig" %} +{% block description %}PHP Jenkins Docker image for CI, based on Alpine Linux for minimal size{% endblock %} + {% block install %} openjdk8-jre \ openssh \