You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/18 10:55:33 UTC

[GitHub] [pulsar] tisonkun opened a new issue, #16652: Build the docker image without dockerfile-maven-plugin

tisonkun opened a new issue, #16652:
URL: https://github.com/apache/pulsar/issues/16652

   As described in https://github.com/apache/pulsar/discussions/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](https://github.com/fabric8io/docker-maven-plugin) is provided by fabric8io and actively maintained. However, the plugin logic is quite different from dockerfile-maven-plugin as it 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](https://github.com/apache/skywalking/blob/master/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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] codelipenghui closed issue #16652: Build the docker image without dockerfile-maven-plugin

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #16652: Build the docker image without dockerfile-maven-plugin
URL: https://github.com/apache/pulsar/issues/16652


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] tisonkun commented on issue #16652: Build the docker image without dockerfile-maven-plugin

Posted by GitBox <gi...@apache.org>.
tisonkun commented on issue #16652:
URL: https://github.com/apache/pulsar/issues/16652#issuecomment-1189824042

   Related PR #16099.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] xiaods commented on issue #16652: Build the docker image without dockerfile-maven-plugin

Posted by GitBox <gi...@apache.org>.
xiaods commented on issue #16652:
URL: https://github.com/apache/pulsar/issues/16652#issuecomment-1214646118

   use Jib — build Java Docker images better to build your image.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] tisonkun commented on issue #16652: Build the docker image without dockerfile-maven-plugin

Posted by GitBox <gi...@apache.org>.
tisonkun commented on issue #16652:
URL: https://github.com/apache/pulsar/issues/16652#issuecomment-1218089055

   @xiaods with a quick glance of Jib, it seems a Java-specific image builder based on buildkit. Our logic is currently based on Dockerfile so I don't want to spend too much time learning a new flavor.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] hpvd commented on issue #16652: Build the docker image without dockerfile-maven-plugin

Posted by GitBox <gi...@apache.org>.
hpvd commented on issue #16652:
URL: https://github.com/apache/pulsar/issues/16652#issuecomment-1215745084

   since its about the future evolutions of the docker images in this issue,
   maybe one should already also have a look on the topic distroless images:
   just put together a short doc about
   - the typical advantages and
   - the latest gen of tooling
   in the pulsar function-mesh project
   where it may directly help solving some security problems in an image:
   Build distroless package for better security, smaller size and more https://github.com/streamnative/function-mesh/issues/448


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] merlimat commented on issue #16652: Build the docker image without dockerfile-maven-plugin

Posted by GitBox <gi...@apache.org>.
merlimat commented on issue #16652:
URL: https://github.com/apache/pulsar/issues/16652#issuecomment-1190528964

   The next step after this would be to enable building multi-arch image :) 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] lhotari commented on issue #16652: Build the docker image without dockerfile-maven-plugin

Posted by GitBox <gi...@apache.org>.
lhotari commented on issue #16652:
URL: https://github.com/apache/pulsar/issues/16652#issuecomment-1188602723

   > 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.
   
   @tisonkun I'd prefer the `maven-exec-plugin` solution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org