File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,12 @@ echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup
14
14
echo " Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache
15
15
echo ' APT::Install-Recommends "false";' > /etc/apt/apt.conf
16
16
export DEBIAN_FRONTEND=noninteractive
17
-
18
- dpkg-reconfigure -f noninteractive tzdata \
17
+ # Debian doesn't include MySQL, so install its repo manually, see guide:
18
+ # https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-repo-manual-setup
19
+ # Install MySQL's PGP key, allow for retry as MIT keyserver is often very slow
20
+ apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5 || apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5
21
+ echo deb http://repo.mysql.com/apt/debian/ ` lsb_release -sc` mysql-8.0 > /etc/apt/sources.list.d/mysql.list
22
+ dpkg-reconfigure -f noninteractive tzdata \
19
23
&& apt-get update \
20
24
&& apt-get install -yq \
21
25
apt-transport-https \
@@ -28,7 +32,7 @@ export DEBIAN_FRONTEND=noninteractive
28
32
gnupg2 \
29
33
jq \
30
34
libc-client-dev \
31
- mariadb -client \
35
+ mysql -client \
32
36
mongo-tools \
33
37
openssh-client \
34
38
python \
@@ -38,4 +42,4 @@ export DEBIAN_FRONTEND=noninteractive
38
42
unzip \
39
43
zip \
40
44
zlib1g-dev \
41
- && rm -rf /var/lib/apt/lists/*
45
+ && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments