Skip to content

Commit 3850f12

Browse files
committed
Replaced mariadb client with mysql-client
1 parent 002792f commit 3850f12

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.docker/os2web/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,17 @@ RUN set -eux; \
77
libxml2-dev \
88
git \
99
wget \
10-
mariadb-client-10.3 \
10+
lsb-release \
11+
gnupg \
1112
cron; \
1213
docker-php-ext-install soap; \
13-
curl -fsSL "https://github.com/drush-ops/drush-launcher/releases/latest/download/drush.phar" -o /usr/local/bin/drush && chmod +x /usr/local/bin/drush
14+
curl -fsSL "https://github.com/drush-ops/drush-launcher/releases/latest/download/drush.phar" -o /usr/local/bin/drush && chmod +x /usr/local/bin/drush; \
15+
# Addind mysql-client
16+
wget https://repo.mysql.com//mysql-apt-config_0.8.13-1_all.deb; \
17+
echo 4 | dpkg -i mysql-apt-config_0.8.13-1_all.deb; \
18+
apt update; \
19+
apt install -qq -y mysql-client; \
20+
echo "[client]" >> /etc/mysql/my.cnf; echo "ssl-mode=DISABLED" >> /etc/mysql/my.cnf
1421

1522
# Removing standard Drupal core and loading OS2Web project.
1623
WORKDIR /opt

0 commit comments

Comments
 (0)