Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(arm,build): changing ubuntu version in ARM cstor-base image #310

Merged
merged 4 commits into from
May 26, 2020

Conversation

mynktl
Copy link
Member

@mynktl mynktl commented May 15, 2020

Why is this PR required? What issue does it fix?:
This PR is required to fix the issue openebs/openebs#3037.

We are building ARM images for cstor from ubuntu:18.04, which is using libjson-c.3, while we are building cstor binaries in travis ARM machine, which is using ubuntu:16.04. Due to this image conflict between host and docker, we are facing issue with libjson-c library, while running cstor arm image.

What this PR does?:
This PR changes docker file for ARM build, to user ubuntu version 16.04 from 18.04.

Does this PR require any upgrade changes?:
No

If the changes in this PR are manually verified, list down the scenarios covered and commands you used for testing with logs:

Any additional information for your reviewer?:
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

Signed-off-by: mynktl mayank.patel@mayadata.io

Signed-off-by: mynktl <mayank.patel@mayadata.io>
@mynktl mynktl requested a review from kmova May 15, 2020 09:49
@mynktl mynktl added bug Something isn't working Maintenance if PR/issue is not related to production code labels May 15, 2020
@mynktl mynktl added this to the 1.11 milestone May 15, 2020
@mynktl mynktl requested a review from vishnuitta May 15, 2020 12:54
@@ -3,7 +3,7 @@
# libraries.
#

FROM arm64v8/ubuntu:18.04
FROM arm64v8/ubuntu:16.04

Choose a reason for hiding this comment

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

how about using some fixed one like the way its done for amd? Below is for amd:

FROM openebs/cstor-ubuntu:xenial-20190515

Copy link
Member Author

Choose a reason for hiding this comment

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

cc: @kmova

Copy link

Choose a reason for hiding this comment

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

@mynktl -- can you try with this please. openebs/arm64v8-ubuntu:xenial-20200326

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you @kmova for creating ARM image.
trivy scan result with above image is as below:

openebs/cstor-pool-arm64:ci (ubuntu 16.04)
==========================================
Total: 270 (UNKNOWN: 0, LOW: 227, MEDIUM: 43, HIGH: 0, CRITICAL: 0)

mynktl and others added 2 commits May 19, 2020 15:51
Signed-off-by: mynktl <mayank.patel@mayadata.io>
@mynktl mynktl requested a review from vishnuitta May 19, 2020 10:23
Copy link

@vishnuitta vishnuitta left a comment

Choose a reason for hiding this comment

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

changes are good

@vishnuitta vishnuitta requested review from pawanpraka1 and kmova and removed request for kmova May 22, 2020 14:46
Copy link
Member

@pawanpraka1 pawanpraka1 left a comment

Choose a reason for hiding this comment

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

looks good.

@vishnuitta vishnuitta merged commit 630567a into mayadata-io:develop May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Maintenance if PR/issue is not related to production code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants