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

补充文件Dockfile #1

Open
he-aook opened this issue Mar 18, 2019 · 0 comments
Open

补充文件Dockfile #1

he-aook opened this issue Mar 18, 2019 · 0 comments

Comments

@he-aook
Copy link

he-aook commented Mar 18, 2019

#---------------------

I am he-aook

#Project dockerfiles:

http://githuba.com/Syatemood/dockerfile

FROM docker.io/library/centos:7

ENV MYSQL_VERSION="5.6.35"

COPY run.sh /
COPY init-db.sh /

RUN yum update -y &&
yum install -y perl-Data-Dumper.x86_64 perl-DBI.x86_64 libaio-devel numactl-libs net-tools perl perl perl-Data-Dumper-Names &&
yum clean all &&
for pkg in common libs devel client server;
do rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql56-community-el7/mysql-community-$pkg-$MYSQL_VERSION-2.el7.x86_64.rpm; done &&
chmod 755 /run.sh /init-db.sh && rm -rf /var/lib/mysql

ENTRYPOINT ["/run.sh"]

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

No branches or pull requests

1 participant