[ 
https://issues.apache.org/jira/browse/MINIFI-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084273#comment-16084273
 ] 

ASF GitHub Bot commented on MINIFI-311:
---------------------------------------

GitHub user achristianson opened a pull request:

    https://github.com/apache/nifi-minifi-cpp/pull/118

    MINIFI-311 Move to alpine base for docker image.

    This change takes the 1.5G ubuntu minifi image and reduces it to a 39MB 
image by using a multi-stage alpine build.
    
    MINIFI-311 ported dockerfile to alpine
    MINIFI-311 allow warnings on Linux for compatibility with Alpine
    MINIFI-311 fixed spdlog path in BuildTests cmake file
    MINIFI-349 moved to multi-stage docker build

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/achristianson/nifi-minifi-cpp MINIFI-311

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi-minifi-cpp/pull/118.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #118
    
----
commit 95e58d0fba850f9643bf13774863124fc4b0659c
Author: Andrew Christianson <[email protected]>
Date:   2017-07-11T16:05:33Z

    MINIFI-311 upgraded spdlog to snapshot of master
    MINIFI-311 ported dockerfile to alpine
    MINIFI-311 allow warnings on Linux for compatibility with Alpine
    MINIFI-311 fixed spdlog path in BuildTests cmake file
    MINIFI-349 moved to multi-stage docker build

----


> Alpine Linux for MiNiFi CPP Docker images
> -----------------------------------------
>
>                 Key: MINIFI-311
>                 URL: https://issues.apache.org/jira/browse/MINIFI-311
>             Project: Apache NiFi MiNiFi
>          Issue Type: Improvement
>            Reporter: Bryan Rosander
>            Assignee: Andrew Christianson
>            Priority: Minor
>
> With MiNiFi's goals including being lightweight, it seems logical to try to 
> keep its Docker images as small as feasible.  Moving to alpine-based images 
> is an easy step that reduces the image size quite a bit.
> Another thing that would make the images smaller would be to use an image 
> with build dependencies to perform the build and one without them for the 
> runnable image.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to