ustc-grade-automatic-notification icon indicating copy to clipboard operation
ustc-grade-automatic-notification copied to clipboard

Set Ubuntu version to 16.04 to fix compatibility problems

Open taoky opened this issue 6 years ago • 1 comments

Dockerfile 中如果使用目前最新版本的 Ubuntu 的话会有两个问题:

  1. debconf 在配置 tzdata 包的时候会回退到 Readline 前端,但是无法操作,需要先 export DEBIAN_FRONTEND=noninteractive

  2. 程序报错 Error: 'module' object has no attribute 'KNearest'

所以做了一点小改动,避免兼容性问题给用户的困扰。

taoky avatar Jul 10 '18 00:07 taoky

Seems okay to me. 为了保证稳定性,的确应当锁定 Docker base image 版本

SmartHypercube avatar Jul 10 '18 04:07 SmartHypercube