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 Apr 26, 2024

  1. Define baseimage with arguments required in multiple stages

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

    Use common path on entrypoint
    AlMaVizca committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    ee9f49b 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 Apr 26, 2024
    Configuration menu
    Copy the full SHA
    a248e17 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    682fdbb 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 Apr 26, 2024
    Configuration menu
    Copy the full SHA
    8320482 View commit details
    Browse the repository at this point in the history