Merge pull request #773 from jmrenouard/master
Dockerfile for MySQLtuner
This commit is contained in:
commit
4a7d0e07a9
4 changed files with 34 additions and 83 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -17,4 +17,5 @@ result*
|
||||||
result_*
|
result_*
|
||||||
sql/*.sql
|
sql/*.sql
|
||||||
sql/*.csv
|
sql/*.csv
|
||||||
cve.csv
|
cve.csv
|
||||||
|
default*.cnf
|
||||||
|
|
23
Dockerfile
Normal file
23
Dockerfile
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
LABEL maintainer="jmrenouard@gmail.com"
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN apt-get update && apt upgrade -y && apt-get install -yq --no-install-recommends \
|
||||||
|
apt-utils \
|
||||||
|
curl \
|
||||||
|
wget \
|
||||||
|
perl \
|
||||||
|
perl-doc \
|
||||||
|
mysql-client \
|
||||||
|
libjson-perl \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& echo "Downloading MySQL Tuner script ..." \
|
||||||
|
&& wget --no-check-certificate https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl -O /mysqltuner.pl \
|
||||||
|
&& wget --no-check-certificate https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O /basic_passwords.txt \
|
||||||
|
&& wget --no-check-certificate https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O /vulnerabilities.csv
|
||||||
|
|
||||||
|
ENTRYPOINT ["perl", "/mysqltuner.pl", "--passwordfile", "/basic_passwords.txt" , "--cvefile", "/vulnerabilities.txt", "--nosysstat", "--defaults-file", "/defaults.cnf" ]
|
||||||
|
CMD ["--verbose"]
|
10
Makefile
10
Makefile
|
@ -39,6 +39,9 @@ generate_cve:
|
||||||
git add ./vulnerabilities.csv
|
git add ./vulnerabilities.csv
|
||||||
git commit -m "Generate CVE list at $(shell date --iso=seconds)"
|
git commit -m "Generate CVE list at $(shell date --iso=seconds)"
|
||||||
|
|
||||||
|
generate_version_file:
|
||||||
|
grep "# mysqltuner.pl - Version" ./mysqltuner.pl | awk '{ print $NF}' > CURRENT_VERSION.txt
|
||||||
|
|
||||||
generate_features:
|
generate_features:
|
||||||
perl ./build/genFeatures.sh
|
perl ./build/genFeatures.sh
|
||||||
git add ./FEATURES.md
|
git add ./FEATURES.md
|
||||||
|
@ -68,5 +71,10 @@ increment_major_version:
|
||||||
git tag -a v$(UPDATE_MINOR_VERSION) -m "Generate $(UPDATE_MAJOR_VERSION) major version at $(shell date --iso=seconds)"
|
git tag -a v$(UPDATE_MINOR_VERSION) -m "Generate $(UPDATE_MAJOR_VERSION) major version at $(shell date --iso=seconds)"
|
||||||
git push --tags
|
git push --tags
|
||||||
|
|
||||||
|
docker_build:
|
||||||
|
docker build .
|
||||||
push:
|
push:
|
||||||
git push
|
git push
|
||||||
|
|
||||||
|
pull:
|
||||||
|
git pull
|
||||||
|
|
81
v2.5.2.txt
81
v2.5.2.txt
|
@ -1,81 +0,0 @@
|
||||||
commit 4fdd80139269691828c0a27ff583b2ee49987451
|
|
||||||
Author: Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
||||||
Date: Tue Feb 6 18:00:04 2024 +0100
|
|
||||||
|
|
||||||
Generate CVE list at 2024-02-06T17:59:02+01:00
|
|
||||||
|
|
||||||
commit dd2ed7264295a6d328c59c7c395eeb9be933fdde
|
|
||||||
Author: Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
||||||
Date: Tue Feb 6 17:58:57 2024 +0100
|
|
||||||
|
|
||||||
Indenting mysqltuner at 2024-02-06T17:58:52+01:00
|
|
||||||
|
|
||||||
commit 30d1d9ecc61393ec807d2596ef8b5e178a4b52cd
|
|
||||||
Author: Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
||||||
Date: Tue Feb 6 17:58:35 2024 +0100
|
|
||||||
|
|
||||||
Generate 2.5.2 sub version at 2024-02-06T17:58:35+01:00
|
|
||||||
|
|
||||||
commit b3a776576e7e568143797d62b754d9f992ffd1db
|
|
||||||
Author: Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
||||||
Date: Sun Feb 4 00:34:49 2024 +0100
|
|
||||||
|
|
||||||
Two separate garb install script with or without SSL
|
|
||||||
|
|
||||||
commit 27525ca922a74d1df5c53c4d3ed1a1f07029919c
|
|
||||||
Author: Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
||||||
Date: Sun Feb 4 00:31:54 2024 +0100
|
|
||||||
|
|
||||||
Fix issue in Buffer Pool instead of Log Buffer Pool
|
|
||||||
|
|
||||||
commit 65b1c138a56157774d8d98f93741a42054b3f4c6
|
|
||||||
Author: Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
||||||
Date: Thu Jan 18 05:38:00 2024 +0100
|
|
||||||
|
|
||||||
#741 false positive in log error detection
|
|
||||||
|
|
||||||
commit 56d16e168efe85ba4a93b93800c50b42cdd32aee
|
|
||||||
Merge: 3fd633b b608da0
|
|
||||||
Author: Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
||||||
Date: Wed Jan 17 18:35:27 2024 +0100
|
|
||||||
|
|
||||||
Merge pull request #745 from FabioPedretti/master
|
|
||||||
|
|
||||||
Enable color by default when running on a terminal
|
|
||||||
|
|
||||||
commit b608da0fb1a8ad3200b5857a4ef6e6706934ab46
|
|
||||||
Author: Fabio Pedretti <pedretti.fabio@gmail.com>
|
|
||||||
Date: Thu Jan 11 11:27:25 2024 +0100
|
|
||||||
|
|
||||||
Enable color by default when running on a terminal
|
|
||||||
|
|
||||||
commit 3fd633b507d48e7505c28aab8dc48d73f028f8da
|
|
||||||
Author: Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
||||||
Date: Fri Dec 1 00:46:15 2023 +0100
|
|
||||||
|
|
||||||
Generate 2.5.0 minor version at 2023-12-01T00:45:45+01:00
|
|
||||||
|
|
||||||
commit 77699b72ae2e12f948aff622dd8194c9dbec9e09
|
|
||||||
Author: Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
||||||
Date: Fri Dec 1 00:45:34 2023 +0100
|
|
||||||
|
|
||||||
Suggest incrementing log_buffer_size to improve InnoDB Write Log efficiency.
|
|
||||||
#462
|
|
||||||
|
|
||||||
commit c20bcbf8f0c00f9e900a880559ac95688ec9b1dc
|
|
||||||
Merge: b10cdb7 01a1e53
|
|
||||||
Author: Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
||||||
Date: Thu Nov 30 21:51:53 2023 +0100
|
|
||||||
|
|
||||||
Merge pull request #744 from paskal/remove_innodb_stats_on_metadata
|
|
||||||
|
|
||||||
Remove innodb_stats_on_metadata mentions in Readme
|
|
||||||
|
|
||||||
commit 01a1e5336487e8464d655a4a8a1d51af0ebd38ee
|
|
||||||
Author: Dmitry Verkhoturov <paskal.07@gmail.com>
|
|
||||||
Date: Thu Nov 30 15:59:51 2023 +0100
|
|
||||||
|
|
||||||
remove innodb_stats_on_metadata mentions in Readme
|
|
||||||
|
|
||||||
That flag is off by default, starting with MySQL 5.7, and the tool
|
|
||||||
itself reports it in the "Performance Metrics" section.
|
|
Loading…
Reference in a new issue