Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cbf9494e
Commit
cbf9494e
authored
Jun 16, 2015
by
Balasubramanian Kandasamy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add packaging scripts for docker builds
parent
3f9bb919
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1217 additions
and
0 deletions
+1217
-0
packaging/rpm-docker/CMakeLists.txt
packaging/rpm-docker/CMakeLists.txt
+29
-0
packaging/rpm-docker/my.cnf
packaging/rpm-docker/my.cnf
+30
-0
packaging/rpm-docker/mysql.spec.in
packaging/rpm-docker/mysql.spec.in
+1158
-0
No files found.
packaging/rpm-docker/CMakeLists.txt
0 → 100644
View file @
cbf9494e
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
IF
(
UNIX
)
SET
(
prefix
${
CMAKE_INSTALL_PREFIX
}
)
SET
(
SPECFILENAME
"mysql.spec"
)
# Left in current directory, to be taken during build
CONFIGURE_FILE
(
mysql.spec.in
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
SPECFILENAME
}
@ONLY
)
FOREACH
(
fedfile my.cnf
)
CONFIGURE_FILE
(
${
fedfile
}
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
fedfile
}
COPYONLY
)
ENDFOREACH
()
ENDIF
()
packaging/rpm-docker/my.cnf
0 → 100644
View file @
cbf9494e
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
secure-file-priv=/var/lib/mysql-files
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
packaging/rpm-docker/mysql.spec.in
0 → 100644
View file @
cbf9494e
This diff is collapsed.
Click to expand it.
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