Skip to content
Snippets Groups Projects
Commit 993ad0a1 authored by Fran Garcia-Linares's avatar Fran Garcia-Linares Committed by Andrey Postnikov
Browse files

Issue #3419805 by fjgarlin, andypost, cmlara, nnewton: Disable aio in mariadb and mysql images.

parent bdca3e94
Branches
No related tags found
No related merge requests found
Pipeline #155492 passed
####
FROM mariadb:10.2.7
#####
FROM docker.io/mariadb:10.2.7
MAINTAINER drupalci
# Packages..
RUN apt-get -y update && \
apt-get -y install netcat psmisc
RUN apt-get clean && apt-get autoclean && apt-get -y autoremove
RUN set -xe && \
sed -i 's/deb /# deb /' /etc/apt/sources.list.d/mariadb.list && \
echo "deb http://archive.debian.org/debian/ jessie main" > /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security/ jessie/updates main" >> /etc/apt/sources.list && \
\
apt-get -y update && \
apt-get -y install netcat-traditional --force-yes && \
rm -rf /var/lib/apt/lists/*
COPY ./conf/my.cnf /etc/mysql/conf.d/drupalci.cnf
COPY ./conf/setup.sql /docker-entrypoint-initdb.d/setup.sql
......
......@@ -59,6 +59,7 @@ innodb_write_io_threads = 16
innodb_flush_log_at_trx_commit = 0
innodb_max_dirty_pages_pct = 70
innodb_adaptive_hash_index = 0
innodb_use_native_aio = 0
[mysqldump]
quick
......
####
#####
FROM docker.io/mariadb:10.3.22
MAINTAINER drupalci
......
......@@ -59,6 +59,7 @@ innodb_write_io_threads = 16
innodb_flush_log_at_trx_commit = 0
innodb_max_dirty_pages_pct = 70
innodb_adaptive_hash_index = 0
innodb_use_native_aio = 0
[mysqldump]
quick
......
FROM ubuntu:trusty
#
FROM docker.io/ubuntu:trusty
MAINTAINER drupalci
# Packages.
RUN apt-get -y update && \
apt-get -y install mysql-server netcat
RUN apt-get clean && apt-get autoclean && apt-get -y autoremove
RUN apt-get update && \
apt-get install -qy mysql-server netcat && \
rm -rf /var/lib/apt/lists/*
COPY --chmod=644 ./conf/my.cnf /etc/mysql/my.cnf
......
......@@ -57,6 +57,7 @@ innodb_read_io_threads = 16
innodb_write_io_threads = 16
innodb_flush_log_at_trx_commit = 0
innodb_max_dirty_pages_pct = 70
innodb_use_native_aio = 0
[mysqldump]
quick
......
FROM mysql:5.6
#
FROM docker.io/mysql:5.6
MAINTAINER drupalci
# Packages..
RUN apt-get -y update && \
apt-get -y install netcat
RUN apt-get clean && apt-get autoclean && apt-get -y autoremove
RUN set -xe && \
sed -i 's/deb /# deb /' /etc/apt/sources.list.d/mysql.list && \
echo "deb http://archive.debian.org/debian/ stretch main" > /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security/ stretch/updates main" >> /etc/apt/sources.list && \
\
apt-get -y update && \
apt-get -y install netcat-traditional && \
rm -rf /var/lib/apt/lists/*
COPY --chmod=644 ./conf/my.cnf /etc/mysql/my.cnf
......
......@@ -57,6 +57,7 @@ innodb_write_io_threads = 16
innodb_flush_log_at_trx_commit = 0
innodb_max_dirty_pages_pct = 70
innodb_adaptive_hash_index = 0
innodb_use_native_aio = 0
[mysqldump]
quick
......
#
FROM docker.io/mysql:5.7
MAINTAINER drupalci
......
......@@ -57,6 +57,7 @@ innodb_write_io_threads = 16
innodb_flush_log_at_trx_commit = 0
innodb_max_dirty_pages_pct = 70
innodb_adaptive_hash_index = 0
innodb_use_native_aio = 0
[mysqldump]
quick
......
#
FROM docker.io/mysql:8.0-debian
MAINTAINER drupalci
# Packages.
RUN apt-get -y update && \
apt-get -y install netcat psmisc --no-install-recommends && \
apt-get -y install netcat-traditional psmisc --no-install-recommends && \
rm -rf /var/lib/apt/lists/*
COPY --chmod=644 ./conf/my.cnf /etc/mysql/conf.d/drupalci.cnf
......
......@@ -59,6 +59,7 @@ innodb_write_io_threads = 16
innodb_flush_log_at_trx_commit = 0
innodb_max_dirty_pages_pct = 70
innodb_adaptive_hash_index = 0
innodb_use_native_aio = 0
[mysqldump]
quick
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment