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

feat(build): add support for building on arm and x86 #294

Merged
merged 3 commits into from
Nov 27, 2019

Conversation

wangzihao3
Copy link
Contributor

Related to: openebs/openebs#1295

  • modify build_image.sh to decide which arch is used

Signed-off-by: wangzihao [email protected]

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)
Copy link
Contributor

Choose a reason for hiding this comment

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

Unused variable.

Copy link
Contributor Author

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.

@mynktl mynktl requested review from kmova and vishnuitta November 25, 2019 07:03
Signed-off-by: wangzihao <[email protected]>
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"
Copy link
Contributor

Choose a reason for hiding this comment

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

RUN chmod +x /usr/local/bin/entrypoint-istgtimage.sh

ARG BUILD_DATE
LABEL org.label-schema.name="cstor"
Copy link
Contributor

Choose a reason for hiding this comment

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

istgt


ARG BUILD_DATE
LABEL org.label-schema.name="cstor"
LABEL org.label-schema.description="OpenEBS cstor"
Copy link
Contributor

Choose a reason for hiding this comment

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

OpenEBS istgt

@wangzihao3
Copy link
Contributor Author

wangzihao3 commented Nov 27, 2019

Thanks @pawanpraka1 . I will update them. There are the same issue in Dockerfile. Should I update them both ?

@pawanpraka1
Copy link
Contributor

yes, please go ahead. Fix the existing Dockerfile also.

Copy link
Contributor

@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 cf9878a into openebs-archive:replication Nov 27, 2019
@kmova kmova modified the milestones: 1.6.0, 1.5.0 Jan 10, 2020
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.

5 participants