Skip to content

Minificpp 764: Add docker builds for different systems.#511

Closed
phrocker wants to merge 4 commits intoapache:masterfrom
phrocker:MINIFICPP-764
Closed

Minificpp 764: Add docker builds for different systems.#511
phrocker wants to merge 4 commits intoapache:masterfrom
phrocker:MINIFICPP-764

Conversation

@phrocker
Copy link
Contributor

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

For all changes:

  • Is there a JIRA ticket associated with this PR? Is it referenced
    in the commit message?

  • Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

  • Has your PR been rebased against the latest commit within the target branch (typically master)?

  • Is your initial contribution a single, squashed commit?

For code changes:

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
  • If applicable, have you updated the LICENSE file?
  • If applicable, have you updated the NOTICE file?

For documentation related changes:

  • Have you ensured that format looks appropriate for the output in which it is rendered?

Note:

Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@phrocker phrocker requested a review from apiri March 15, 2019 12:10
Copy link
Member

@apiri apiri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still working through verifying but wanted to post some initial comments as I see you are working through things.


### Building For Other Distros
If you have docker installed on your machine you can build for CentOS 7, Fedoera 29, Ubuntu 16, Ubuntu 18, and Debian 9 via our make docker commands. The following table
provides the command to build your distro and the output file in your build directoiry. Since the versions are limited ( except for Ubuntu ) we output the archive based on the distros name.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: distros -> distro's


# First stage: the build environment
# Edge required for rocksdb
FROM centos:latest AS builder
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we lock onto a specific version here? Or at least the major release?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes agreed.


### Building For Other Distros
If you have docker installed on your machine you can build for CentOS 7, Fedoera 29, Ubuntu 16, Ubuntu 18, and Debian 9 via our make docker commands. The following table
provides the command to build your distro and the output file in your build directoiry. Since the versions are limited ( except for Ubuntu ) we output the archive based on the distros name.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: directory typo

Copy link
Member

@apiri apiri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good here and would be fine with it merging as is. Let me know your preference on whether we should roll the Maven repo/volume approach into this effort or do a follow on issue/pr to address. I can take care of the readme fixes on merge.

@phrocker
Copy link
Contributor Author

@apiri My preference is to do that in a follow on. It's a really good idea, but I think building without JNI and with an attached repo can be a follow on.

@apiri
Copy link
Member

apiri commented Mar 15, 2019

@phrocker Sounds good. Will take care of the typos and specifying 7 for CentOS on merge. Good bit of functionality!

@asfgit asfgit closed this in 520a1b8 Mar 15, 2019
apiri pushed a commit to apiri/nifi-minifi-cpp that referenced this pull request Mar 15, 2019
This closes apache#511.

Signed-off-by: Aldrin Piri <aldrin@apache.org>
nghiaxlee pushed a commit to nghiaxlee/nifi-minifi-cpp that referenced this pull request Jul 8, 2019
This closes apache#511.

Signed-off-by: Aldrin Piri <aldrin@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants