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

Add centos dockerfile #8

Merged
merged 1 commit into from
Sep 11, 2019
Merged

Conversation

yixinglu
Copy link
Contributor

@yixinglu yixinglu commented Sep 10, 2019

Compile dependencies with gcc in devtoolset-8

Refer to vesoft-inc/nebula#838
close vesoft-inc/nebula#905

Copy link
Contributor

@laura-ding laura-ding left a comment

Choose a reason for hiding this comment

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

well done

Dockerfile.centos Show resolved Hide resolved
xz-devel \
&& 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.

Could you please add some notes for each primary step?


RUN scl enable devtoolset-8 -- bash \
&& mkdir -p /home/nebula \
&& ln -snf /opt/rh/devtoolset-8/enable /etc/profile.d/devtoolset-8.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

How about changing the target name to devtoolset-8-setup.sh or other meaningful names?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How about enable-devtoolset-8.sh or devtoolset-8-enable.sh ?

@yixinglu yixinglu merged commit 73e797f into vesoft-inc:master Sep 11, 2019
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.

4 participants