Skip to content

Conversation

@tors42
Copy link
Contributor

@tors42 tors42 commented Mar 30, 2024

Here's an example "refactoring" of the ci.Dockerfile,
which reduces the size from 3 GB to 2 GB.

At least the integration tests in chariot are still passing,
but that should probably not be "the one source of truth" if this refactoring is sound or not 😀

I think the main things which is gotten rid of with this updated image are "leftovers" from sbt and git checkouts.

I'm not confident in that I know which files from the lila git checkout that are needed in actual runtime - but the current copying of

  • /lila/target
  • /lila/public
  • /lila/conf

seems to work so far...

@fitztrev fitztrev merged commit c477c39 into lichess-org:ci Mar 30, 2024
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