Skip to content

Commit 2215c17

Browse files
authored
Merge pull request huginn#3265 from huginn/fix_mysql_installation
Fix MySQL package installation for the multi-process image
2 parents 2a04d2b + bf0c72d commit 2215c17

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker/multi-process/scripts/standalone-packages

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ export DEBIAN_FRONTEND=noninteractive
55
apt-get update
66
apt-get install -y gnupg
77

8-
echo "deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-5.7" > /etc/apt/sources.list.d/mysql.list
9-
apt-key adv --keyserver pgp.mit.edu --recv-keys 3A79BD29
8+
mkdir -m700 $HOME/.gnupg
9+
gpg --no-default-keyring --keyring /usr/share/keyrings/mysql-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 5072E1F5 3A79BD29
10+
echo "deb [signed-by=/usr/share/keyrings/mysql-keyring.gpg] http://repo.mysql.com/apt/ubuntu/ bionic mysql-5.7" > /etc/apt/sources.list.d/mysql.list
1011
apt-get update
1112

1213
apt-get install -y --allow-downgrades python3-pip mysql-server supervisor \

0 commit comments

Comments
 (0)