arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.12298cs.SE
收藏

随着时间的推移重新审视开源软件中的Dockerfiles

Revisiting Dockerfiles in Open Source Software Over Time

Kalvin Eng, Abram Hindle

摘要:

Docker正在变得无处不在,容器化用于开发和部署应用程序。以前的研究分析了用于创建容器镜像的Dockerfiles,以便更好地了解如何改进Docker工具。这些研究使用Docker Hub或Github获取Dockerfiles。在本文中,我们使用迄今为止已知的最大的Dockerfiles集重新审视了以前的研究结果,在2013-2020年的代码基础设施世界中发现了超过940万个独特的Dockerfiles。我们通过分析Docker引擎的变更日志来提供Dockerfile格式的历史视图,并使用历史来增强我们对Dockerfiles的分析。我们还再次证实了以前的研究结果,即使用操作系统图像的下降趋势和使用语言图像的上升趋势。此外,我们再次确认Dockerfile的气味计数略有下降,这意味着Dockerfile作者可能会更好地遵循最佳实践。基于这些发现,它表明之前的分析在他们的许多发现中是正确的,并且他们关于构建更好的Docker镜像创建工具的建议得到了进一步的证实。

英文摘要:

Docker is becoming ubiquitous with containerization for developing and deploying applications. Previous studies have analyzed Dockerfiles that are used to create container images in order to better understand how to improve Docker tooling. These studies obtain Dockerfiles using either Docker Hub or Github. In this paper, we revisit the findings of previous studies using the largest set of Dockerfiles known to date with over 9.4 million unique Dockerfiles found in the World of Code infrastructure spanning from 2013-2020. We contribute a historical view of the Dockerfile format by analyzing the Docker engine changelogs and use the history to enhance our analysis of Dockerfiles. We also reconfirm previous findings of a downward trend in using OS images and an upward trend of using language images. As well, we reconfirm that Dockerfile smell counts are slightly decreasing meaning that Dockerfile authors are likely getting better at following best practices. Based on these findings, it indicates that previous analyses from prior works have been correct in many of their findings and their suggestions to build better tools for Docker image creation are further substantiated.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑