Skip to content

Improve docker build performance#72

Merged
EnriqueL8 merged 3 commits into
mainfrom
sg/docker-build-perf
Jul 7, 2026
Merged

Improve docker build performance#72
EnriqueL8 merged 3 commits into
mainfrom
sg/docker-build-perf

Conversation

@SupernaviX

Copy link
Copy Markdown
Contributor

Context

Builds of this repo are slow. Some of that is the (currently) unavoidable full restoration of a preview Cardano node onto a fresh instance, but some is just wasted time in a Rust build. Optimize that build.

Important Changes Introduced

  • Don't run npm run test when building the dockerfile (this avoids building the entire repo from scratch a second time, in debug mode)
  • Use caches inside of demo, so that rerunning it isn't as expensive

Signed-off-by: Simon Gellis <simongellis@gmail.com>
Signed-off-by: Simon Gellis <simongellis@gmail.com>
@SupernaviX SupernaviX requested a review from a team as a code owner July 6, 2026 19:09

@EnriqueL8 EnriqueL8 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@EnriqueL8 EnriqueL8 merged commit 8f35260 into main Jul 7, 2026
4 checks passed
@SupernaviX SupernaviX deleted the sg/docker-build-perf branch July 7, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants