buildx function

Image buildx({
  1. required String pathToDockerFile,
  2. required String imageName,
  3. required String version,
  4. bool clean = false,
  5. bool pull = false,
  6. List<String> buildArgs = const <String>[],
  7. String? repository,
  8. String? workingDirectory,
  9. bool showProgress = true,
})

Implementation

Image buildx(
        {required String pathToDockerFile,
        required String imageName,
        required String version,
        bool clean = false,
        bool pull = false,
        List<String> buildArgs = const <String>[],
        String? repository,
        String? workingDirectory,
        bool showProgress = true}) =>
    build(
        pathToDockerFile: pathToDockerFile,
        imageName: imageName,
        version: version,
        clean: clean,
        pull: pull,
        buildArgs: buildArgs,
        repository: repository,
        workingDirectory: workingDirectory,
        showProgress: showProgress,
        buildx: true);