Theia API Documentation v1.65.0
    Preparing search index...
    DockerfileContainer:
        | {
            build: { context?: string; dockerfile: string } & BuildOptions;
            [k: string]: unknown;
        }
        | {
            build?: {
                args?: { [k: string]: string };
                cacheFrom?: string | string[];
                target?: string;
                [k: string]: unknown;
            };
            context?: string;
            dockerFile: string;
            [k: string]: unknown;
        }

    Type Declaration

    • {
          build: { context?: string; dockerfile: string } & BuildOptions;
          [k: string]: unknown;
      }
      • [k: string]: unknown
      • build: { context?: string; dockerfile: string } & BuildOptions

        Docker build-related options.

    • {
          build?: {
              args?: { [k: string]: string };
              cacheFrom?: string | string[];
              target?: string;
              [k: string]: unknown;
          };
          context?: string;
          dockerFile: string;
          [k: string]: unknown;
      }
      • [k: string]: unknown
      • Optionalbuild?: {
            args?: { [k: string]: string };
            cacheFrom?: string | string[];
            target?: string;
            [k: string]: unknown;
        }

        Docker build-related options.

        • Optionalargs?: { [k: string]: string }

          Build arguments.

        • OptionalcacheFrom?: string | string[]

          The image to consider as a cache. Use an array to specify multiple images.

        • Optionaltarget?: string

          Target stage in a multi-stage build.

      • Optionalcontext?: string

        The location of the context folder for building the Docker image. The path is relative to the folder containing the devcontainer.json file.

      • dockerFile: string

        The location of the Dockerfile that defines the contents of the container. The path is relative to the folder containing the devcontainer.json file.