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

Fix Docker build and prevent unnecessary rebuilds #591

Merged
merged 1 commit into from
Jan 7, 2023
Merged

Conversation

fmeum
Copy link
Contributor

@fmeum fmeum commented Jan 6, 2023

Due to a Bazel issue (bazelbuild/bazel#17158), the recent introduction of universal_binary ended up forking the configuration for dependencies of the Jazzer launcher. As a result, some Java targets were built twice and the Docker images failed to build as the Jazzer standalone jar was no longer a dependency of the launcher in the default configuration.

As a workaround and also because it prevents similar issues on a more fundamental level, switch to the soon to be default improved config hash algorithm.

Due to a Bazel issue (bazelbuild/bazel#17158),
the recent introduction of `universal_binary` ended up forking the
configuration for dependencies of the Jazzer launcher. As a result,
some Java targets were built twice and the Docker images failed to build
as the Jazzer standalone jar was no longer a dependency of the launcher
in the default configuration.

As a workaround and also because it prevents similar issues on a more
fundamental level, switch to the soon to be default improved config hash
algorithm.
@fmeum fmeum merged commit 3ff1be1 into main Jan 7, 2023
@fmeum fmeum deleted the fix-docker branch January 7, 2023 06:14
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