Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
b664f9aa
Commit
b664f9aa
authored
Apr 19, 2018
by
kalvin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql5.6 5.7
parent
e9a2d35e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
0 deletions
+34
-0
Dockerfile
baseimg/tools/mysql5.6/Dockerfile
+0
-0
docker-entrypoint.sh
baseimg/tools/mysql5.6/docker-entrypoint.sh
+0
-0
Dockerfile
baseimg/tools/mysql5.7/Dockerfile
+31
-0
docker-entrypoint.sh
baseimg/tools/mysql5.7/docker-entrypoint.sh
+3
-0
No files found.
baseimg/tools/
dbv2
/Dockerfile
→
baseimg/tools/
mysql5.6
/Dockerfile
View file @
b664f9aa
File moved
baseimg/tools/
dbv2
/docker-entrypoint.sh
→
baseimg/tools/
mysql5.6
/docker-entrypoint.sh
View file @
b664f9aa
File moved
baseimg/tools/mysql5.7/Dockerfile
0 → 100644
View file @
b664f9aa
FROM
192.168.4.4/baseimg/centos:201803291115
ENV
YUM_REPO_URL="https://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm "
USER
root
RUN
\
yum
-y
install
epel-release
&&
\
rpm
-ivh
${
YUM_REPO_URL
}
&&
\
yum-config-manager
--disable
mysql55-community
&&
\
yum-config-manager
--disable
mysql56-community
&&
\
yum-config-manager
--enable
mysql57-community
&&
\
yum-config-manager
--disable
mysql80-community
&&
\
yum clean all
RUN
yum
-y
update
&&
yum
-y
install
\
mysql-community-server
RUN
\
yum
-y
autoremove
&&
\
yum clean metadata
&&
\
yum clean all
&&
\
yum
-y
install hostname
&&
\
yum clean all
COPY
./docker-entrypoint.sh /
EXPOSE
3306
VOLUME
/var/lib/mysql
VOLUME
/var/log/mysql
ENTRYPOINT
["/docker-entrypoint.sh"]
\ No newline at end of file
baseimg/tools/mysql5.7/docker-entrypoint.sh
0 → 100755
View file @
b664f9aa
#!/bin/sh -eu
curl
-sSL
http://192.168.3.60/QA/qg-docker-entrypoints/raw/master/dev/common/mysql/run.sh | sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment