Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: mysql-apt-config_0.8.22-1_all -> mysql-apt-config_0.8.29-1_all #429

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

sunakan
Copy link
Contributor

@sunakan sunakan commented Dec 31, 2023

背景

  • docker image を build しようとすると、以下のようなエラーが出力され build にコケます

再現コマンド

docker build -t isucon13:go webapp/go/
...
23.74   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
23.79 Reading package lists...
24.08 W: GPG error: http://repo.mysql.com/apt/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY
B7B3B788A8D3785C
24.08 E: The repository 'http://repo.mysql.com/apt/debian bookworm InRelease' is not signed.
...

原因

  • mysql-apt-config が古い

対応

  • mysql-apt-config を更新し、 該当箇所でコケないようにします

補足

  • mysql-apt-configの際しバージョンは https://dev.mysql.com/downloads/repo/apt/ で確認できます
  • go, rust, ruby, perl, node はこの対応で、 docker image の build に成功します
  • php, python はそれぞれ別要因で失敗します

背景
----
- docker image を build しようとすると、以下のようなエラーが出力され build にコケます

再現コマンド

```shell
docker build -t isucon13:go webapp/go/
```

```shell
...
23.74   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
23.79 Reading package lists...
24.08 W: GPG error: http://repo.mysql.com/apt/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY
B7B3B788A8D3785C
24.08 E: The repository 'http://repo.mysql.com/apt/debian bookworm InRelease' is not signed.
...
```

原因
----
- mysql-apt-config が古い

対応
----
- mysql-apt-config を更新し、 該当箇所でコケないようにします

補足
----
- mysql-apt-configの際しバージョンは https://dev.mysql.com/downloads/repo/apt/ で確認できます
- go, rust, ruby, perl, node はこの対応で、 docker image の build に成功します
- php, python はそれぞれ別要因で失敗します
@sunakan
Copy link
Contributor Author

sunakan commented Dec 31, 2023

このPR作成時点の docker image 作成の成否状況

# 環境
docker --version
Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
言語 成否
go o
node o
perl o
php x
python x
ruby o
rust o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants