File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33set -euo pipefail
44
5+ # NOTE: The MySQL key was taken from https://dev.mysql.com/doc/refman/8.4/en/checking-gpg-signature.html
6+
57SCRIPT_LOCATION=" $( dirname " $( readlink -f " $0 " ) " ) "
68readonly SCRIPT_LOCATION
79
@@ -46,7 +48,7 @@ RUN mkdir -p /etc/apt/keyrings && \\
4648 apt-get install -y --no-install-recommends gnupg2 wget lsb-release && \\
4749 mkdir -p /etc/apt/keyrings && \\
4850 export GNUPGHOME="\$ (mktemp -d)" && \\
49- gpg --batch --keyserver keys.gnupg.net --recv-keys B7B3B788A8D3785C && \\ # Key taken from https://dev.mysql.com/doc/refman/8.4/en/checking-gpg-signature.html
51+ gpg --batch --keyserver keys.gnupg.net --recv-keys B7B3B788A8D3785C && \\
5052 gpg --batch --export B7B3B788A8D3785C > /etc/apt/trusted.gpg.d/mysql.gpg && \\
5153 echo "deb [signed-by=/etc/apt/trusted.gpg.d/mysql.gpg] http://repo.mysql.com/apt/debian/ trixie mysql-8.4-lts" | tee /etc/apt/sources.list.d/mysql.list && \\
5254 apt-get update && \\
You can’t perform that action at this time.
0 commit comments