Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • G guiHive
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ensembl-gh-mirror
  • guiHive
  • Merge requests
  • !7

Smaller docker image

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Marek Szuba requested to merge feature/smaller_docker into server Aug 08, 2019
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 1

Created by: muffato

Like in Ensembl/ensembl-hive#137 I have transformed the Dockerfile to do a multi-stages build. Overall it brings a clean separation between several stages of the builds, and allows only selecting the relevant files from each stage without having to clean stuff up in the same command with &&. The resulting image is now just 70MB heavier than the parent eHive image instead of 166MB before, and better utilizes the build cache. Note that the build context is also expected to be different and I will have to change this on the Docker Hub

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/smaller_docker