Skip to content

Dockerfile conditional building #69

@iBobik

Description

@iBobik

Currently there are directories for PHP version:

  • 5.6
  • 7.0
  • 7.1

and inside are Dockerfiles:

  • Dockerfile-alpine-cli
  • Dockerfile-alpine-fpm
  • Dockerfile-apache
  • Dockerfile-cli
  • Dockerfile-fpm
  • drupal-00.ini
  • drupal-opcache.ini

It means 3 x 7 = 21 Dockerfiles needed to maintain.

How about to join them to one Dockerfile, but with conditions? This base Dockerfile should be build by a script, artifacts will be similar like current Dockerfiles in this repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions