Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single Dockerfile using multi-stages for production and dev image #751

Open
wants to merge 5 commits into
base: 3.x
Choose a base branch
from

Commits on Jun 9, 2024

  1. Define baseimage with arguments required in multiple stages

    Change versions, add common paths
    
    Keep drupal path
    
    Fix comment
    AlMaVizca committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    1f86f7f View commit details
    Browse the repository at this point in the history
  2. Avoid repeating common path

    Use common path on entrypoint
    AlMaVizca committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    670b143 View commit details
    Browse the repository at this point in the history
  3. Refactor composer dependencies to create the production image

    Use docker stages to install dependencies and simplify the building script.
    Prepare production image while keeping compatibility with the development image.
    
    Fix typo
    
    Relocate arguments to improve cache
    
    Make single line for each env definition
    
    Remove composer home path
    
    Avoid installing recommended packages
    AlMaVizca committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    4c6960f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    359bf8d View commit details
    Browse the repository at this point in the history
  5. Merge development image into a single Dockerfile

    Changes based on PR review
    AlMaVizca committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    9e87857 View commit details
    Browse the repository at this point in the history