Interface NativeConfig.Compression

Enclosing interface:
NativeConfig

public static interface NativeConfig.Compression
  • Method Details

    • enabled

      @WithDefault("true") boolean enabled()
      Whether compression should be enabled.
    • containerBuild

      Optional<Boolean> containerBuild()
      Whether the compression should be executed within a container.
    • containerImage

      Optional<String> containerImage()
      The image used for compression. Defaults to quarkus.native.builder-image if not set.

      Setting this variable will automatically activate

    • level

      OptionalInt level()
      The compression level in [1, 10]. 10 means best.

      Higher compression level requires more time to compress the executable.

    • additionalArgs

      Optional<List<String>> additionalArgs()
      Allows passing extra arguments to the UPX command line (like --brute). The arguments are comma-separated.

      The exhaustive list of parameters can be found in https://github.com/upx/upx/blob/devel/doc/upx.pod.