Skip to content

Commit

Permalink
Add comment to explain the usage of fixed volume name
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkak committed Apr 1, 2021
1 parent 57328b0 commit ae176ad
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
public class NativeImageBuildRemoteContainerRunner extends NativeImageBuildContainerRunner {

private static final Logger log = Logger.getLogger(NativeImageBuildRemoteContainerRunner.class);
// Use a predefined volume name and implicitly create the volume with `podman create`, instead of explicitly
// generating a unique volume with `podman volume create`, to work around Podman's 3.0.x
// issue https://github.com/containers/podman/issues/9608
private static final String CONTAINER_BUILD_VOLUME_NAME = "quarkus-native-builder-image-project-volume";

private final String nativeImageName;
Expand Down

0 comments on commit ae176ad

Please sign in to comment.