You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use Jib primarily for reproducibility, so #4141 has been a big challenge for us. We are excited about the fix #4204 that were merged two weeks ago. Can a new release be created?
Environment:
All
Description of the issue:
Jib builds are not reproducible when run with the latest release unless we are very careful to install the right version of commons-compress
Expected behavior:
We can use the fix in #4204 without building our own JARs.
The text was updated successfully, but these errors were encountered:
While the next version of JIB is getting prepared for release, you may try this workaround:
I'm using multi-module Gradle project with buildSrc folder containing build scripts. I was able to achieve reproducible builds with JIB 3.4.1 like this: I modified buildSrc/build.gradle.kts file by adding constraints block in dependencies section:
dependencies {
// Other dependencies
implementation("com.google.cloud.tools:jib-gradle-plugin:3.4.1")
constraints {
implementation("org.apache.commons:commons-compress") {
version {
strictly("1.21")
because("For reproducibility of JIB images")
}
}
}
}
Unrelated to JIB, but related to Spring Boot and Jar packaging tasks: I also added these blocks:
We are also impacted by this and we use Bazel. A release soon would be very much appreciated.
Since apparently commons-compress 1.21 may have a vulnerability.
We use Jib primarily for reproducibility, so #4141 has been a big challenge for us. We are excited about the fix #4204 that were merged two weeks ago. Can a new release be created?
Environment:
All
Description of the issue:
Jib builds are not reproducible when run with the latest release unless we are very careful to install the right version of commons-compress
Expected behavior:
We can use the fix in #4204 without building our own JARs.
The text was updated successfully, but these errors were encountered: