Skip to content

fix: clean up Docker chain config #2946

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

Merged
merged 4 commits into from
Apr 22, 2025
Merged

Conversation

mchristopher
Copy link
Member

Description

Our chain-configuration repository contains a full upgrade history, which currently is sitting around 150MB of data & growing. We don't need the history in the final Docker image, only the current/active configuration.

This change removes the upgrade log directory, as well as the .git directory so we don't bloat the image.

Checklist

  • Breaking changes are clearly marked as such in the PR description and changelog
  • New behavior is reflected in tests
  • The specification matches the implemented behavior (link update PR if changes are needed)

Before requesting review

  • I have reviewed the code myself
  • I have created follow-up issues caused by this PR and linked them here

After merging, notify other teams

[Add or remove entries as needed]

@mchristopher mchristopher added the no changelog Skip the CI check of the changelog modification label Apr 10, 2025
@mchristopher mchristopher marked this pull request as ready for review April 10, 2025 15:40
@mchristopher mchristopher enabled auto-merge (squash) April 10, 2025 22:58
@mchristopher mchristopher merged commit 673f48b into master Apr 22, 2025
32 of 33 checks passed
@mchristopher mchristopher deleted the clean-docker-config-checkout branch April 22, 2025 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Skip the CI check of the changelog modification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants