-
Notifications
You must be signed in to change notification settings - Fork 72
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
feat(build): add support for building on arm and x86 #294
feat(build): add support for building on arm and x86 #294
Conversation
Related to: openebs/openebs#1295 - modify build_image.sh to decide which arch is used Signed-off-by: wangzihao <[email protected]>
build_image.sh
Outdated
|
||
# Determine the arch/os we're building for | ||
ARCH=$(uname -m) | ||
OS=$(uname) |
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.
Unused variable.
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.
oh yes, I will delete it.
Signed-off-by: wangzihao <[email protected]>
docker/Dockerfile.arm64
Outdated
LABEL org.label-schema.name="cstor" | ||
LABEL org.label-schema.description="OpenEBS cstor" | ||
LABEL org.label-schema.url="http://www.openebs.io/" | ||
LABEL org.label-schema.vcs-url="https://github.com/openebs/cstor" |
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.
it should be https://github.com/openebs/istgt.
docker/Dockerfile.arm64
Outdated
RUN chmod +x /usr/local/bin/entrypoint-istgtimage.sh | ||
|
||
ARG BUILD_DATE | ||
LABEL org.label-schema.name="cstor" |
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.
istgt
docker/Dockerfile.arm64
Outdated
|
||
ARG BUILD_DATE | ||
LABEL org.label-schema.name="cstor" | ||
LABEL org.label-schema.description="OpenEBS cstor" |
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.
OpenEBS istgt
Thanks @pawanpraka1 . I will update them. There are the same issue in Dockerfile. Should I update them both ? |
yes, please go ahead. Fix the existing Dockerfile also. |
Signed-off-by: wangzihao <[email protected]>
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.
Related to: openebs/openebs#1295
Signed-off-by: wangzihao [email protected]