Skip to content

Build the docker image without dockerfile-maven-plugin #16652

@tisonkun

Description

@tisonkun

As described in #16642, dockerfile-maven-plugin doesn't support Apple M1 and the project itself is end-of-life.

For supporting developers using Apple M1 clip, we can migrate the building logic to other plugin. Here's some candidates:

  • docker-maven-plugin is provided by fabric8io and actively maintained. However, the plugin logic is quite different from dockerfile-maven-plugin as the former may be over fruitful.
  • maven-exec-plugin. dockerfile-maven-plugin is effectively a thin wrapper of docker commands. We may directly run those commands with maven-exec-plugin.
  • A makefile. Apache SkyWalking uses a Makefile to hold logics about building docker image. It should be in the same direction with maven-exec-plugin but switches build system switch to Makefile.

cc @lhotari what do you think? At least I'd like to know the effectively executed docker commands so that I can run from command line interface and build those images manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions