Skip to content
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

Workaround BuildKit Bug in all Docker Composes #910

Merged
merged 5 commits into from
Nov 27, 2024

Conversation

AshtonStephens
Copy link
Collaborator

Description

Closes: #N/A

This is a workaround for the BuildKit bug where buildkit can't figure out that one of the dependencies of a docker container in a compose is actually the base image for the dependent container (or something like that)

Changes

Changes the docker composes to instead use a single Dockerfile with different targets so there's no dependency on a build container.

Testing Information

Tested by running integration tests locally with this. Admittedly I tested the integration tests a lot more than devenv, but it looks good.

Checklist:

  • I have performed a self-review of my code
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@AshtonStephens AshtonStephens self-assigned this Nov 20, 2024
@AshtonStephens AshtonStephens marked this pull request as ready for review November 20, 2024 16:59
@AshtonStephens AshtonStephens changed the title Workaround buildkit bug Workaround BuildKit Bug in all Docker Composes Nov 20, 2024
docker/sbtc/Dockerfile Outdated Show resolved Hide resolved
@AshtonStephens AshtonStephens merged commit 2a6565b into main Nov 27, 2024
4 checks passed
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