ustc-grade-automatic-notification
ustc-grade-automatic-notification copied to clipboard
Set Ubuntu version to 16.04 to fix compatibility problems
Dockerfile 中如果使用目前最新版本的 Ubuntu 的话会有两个问题:
-
debconf
在配置tzdata
包的时候会回退到Readline
前端,但是无法操作,需要先export DEBIAN_FRONTEND=noninteractive
-
程序报错
Error: 'module' object has no attribute 'KNearest'
所以做了一点小改动,避免兼容性问题给用户的困扰。
Seems okay to me. 为了保证稳定性,的确应当锁定 Docker base image 版本