learningequality / learningequality/studio

Building studio app docker image takes a long time

Open
#2,875 0 comments 0 reactions 2 assignees View on GitHub

@bjester is already working on this.

Since Jan 26, 2021.

  • #2996 by @bjester — closed without merging
P2 - normal TAG: tech update / debt
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Summary

Per @aronasorman, the majority of processing time in studio deployment comes from yarn install and yarn run build in our docker image build. Since there have been many changes to studio recently, it's a good time to revisit these build scripts and files to ensure they're optimized.

A couple of suggested improvements, at first glance:

  • Use a base image with python already installed
  • Use ADD for node.js install to take better advantage of layer caching

Category

ENHANCEMENT

Usage Details

Stakeholders: release engineers, and developers

Real-life consequences (anything community should be aware of, for instance how it affects end users)

The quicker we can build and deploy, the easier it is for the team to deploy small, optimized change-sets.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.