Skip to content

Commit 40b59e1

Browse files
authored
Merge pull request #30 from OS2Forms/dev-mysql-client
Added mysql-client instead mariadb-client
2 parents 4e79b51 + ef12deb commit 40b59e1

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.docker/os2forms/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,17 @@ RUN set -eux; \
99
git \
1010
wget \
1111
zip \
12-
mariadb-client-10.3 \
13-
cron; \
12+
cron \
13+
lsb-release \
14+
gnupg; \
1415
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
1516
docker-php-ext-install soap ldap
17+
# Addind mysql-client
18+
wget https://repo.mysql.com//mysql-apt-config_0.8.13-1_all.deb; \
19+
echo 4 | dpkg -i mysql-apt-config_0.8.13-1_all.deb; \
20+
apt update; \
21+
apt install -qq -y mysql-client; \
22+
echo "[client]" >> /etc/mysql/my.cnf; echo "ssl-mode=DISABLED" >> /etc/mysql/my.cnf; \
1623

1724
# Removing standard Drupal core and loading OS2Web project.
1825
WORKDIR /opt

0 commit comments

Comments
 (0)