一句话:提出 RUDSEA,通过分析软件环境假设变化及其影响,推荐 Dockerfile 的更新位置与代码修改。
Dockerfile 是 Docker 镜像的配置文件,列出了软件构建与执行所需的环境假设;在软件快速演化中环境假设频繁变化,Dockerfile 需持续更新。本文提出 RUDSEA,通过分析软件环境假设的变化及其影响,自动向开发者推荐 Dockerfile 的更新位置与具体修改。在 1,199 条真实世界的指令更新上进行评估,RUDSEA 能为 78.5% 的更新推荐正确的更新位置,并为 44.1% 的更新推荐正确的代码修改。
Dockerfiles are configuration files of docker images which package all dependencies of a software to enable convenient software deployment and porting. In other words, dockerfiles list all environment assumptions of a software application's build and / or execution, so they need to be frequently updated when the environment assumptions change during fast software evolution. In this paper, we propose RUDSEA, a novel approach to recommend updates of dockerfiles to developers based on analyzing changes on software environment assumptions and their impacts. Our evaluation on 1,199 real-world instruction updates shows that RUDSEA can recommend correct update locations for 78.5% of the updates, and correct code changes for 44.1% of the updates.