-
Notifications
You must be signed in to change notification settings - Fork 30
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
Conversation
Signed-off-by: mynktl <mayank.patel@mayadata.io>
docker/Dockerfile.base.arm64
Outdated
@@ -3,7 +3,7 @@ | |||
# libraries. | |||
# | |||
|
|||
FROM arm64v8/ubuntu:18.04 | |||
FROM arm64v8/ubuntu:16.04 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc: @kmova
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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)
Signed-off-by: mynktl <mayank.patel@mayadata.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes are good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
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:
<type>(<scope>): <subject>
Signed-off-by: mynktl mayank.patel@mayadata.io