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

Split the Dockerfile for Centos #76

Merged
merged 9 commits into from
Feb 17, 2023

Conversation

Shinji-IkariG
Copy link
Contributor

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

Description:

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

* Adapt to the mold installation method of Centos7
* Remove Centos8 related steps
* Workflow for removing Centos7
* Repair the workflow after removing the system version judgment
* Adapt to the updated matrix of Dockerfile
* Add automatic trigger action based on merge event
#Install mold
RUN mkdir /usr/local/mold && wget -qO- https://oss-cdn.nebula-graph.com.cn/toolset/mold/mold-1.10.1-$(uname -m)-linux.tar.gz | tar xzf - --strip-components=1 -C /usr/local/mold/
RUN rm /usr/lib64/libstdc++.so.6
RUN ln -s /opt/vesoft/toolset/gcc/9.3.0/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.6
Copy link
Contributor

Choose a reason for hiding this comment

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

ln -snf

RUN yum clean all \
&& rm -rf /var/cache/yum
RUN yum --enablerepo=powertools install -y ninja-build
RUN yum clean all && rm -rf /var/cache/yum
Copy link
Contributor

Choose a reason for hiding this comment

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

merge the layer

* Update the referenced third-party action version
* Optimize docker image volume and perform correct cleanup operations
Separate ninja-build installation steps
@yixinglu yixinglu merged commit 17dbd65 into vesoft-inc:master Feb 17, 2023
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