package io.quarkus.container.image.docker.deployment;

import java.util.Optional;

import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;

@ConfigRoot(phase = ConfigPhase.BUILD_TIME)
public class DockerConfig {

    /**
     * Path to the the JVM Dockerfile.
     * If not set ${project.root}/src/main/docker/Dockerfile.jvm will be used
     * If set to an absolute path then the absolute path will be used, otherwise the path
     * will be considered relative to the project root
     */
    public Optional<String> dockerfileJvmPath;

    /**
     * Path to the the JVM Dockerfile.
     * If not set ${project.root}/src/main/docker/Dockerfile.native will be used
     * If set to an absolute path then the absolute path will be used, otherwise the path
     * will be considered relative to the project root
     */
    public Optional<String> dockerfileNativePath;
}

@@ -76,16 +76,66 @@
 ional;%0A%0A
+import io.quarkus.runtime.annotations.ConfigItem;%0A
 import i
@@ -571,32 +571,48 @@
 ct root%0A     */%0A
+    @ConfigItem%0A
     public Optio
@@ -920,24 +920,40 @@
 oot%0A     */%0A
+    @ConfigItem%0A
     public O

make sure that a config item is annotated with appropriate property