Abstract
In recent years, an application deployment method using Docker container has attracted attention by researchers. Docker containers are fast and lightweight, can improve the portability and reproducibility of applications, and are thus often used with CI/CD and DevOps to accelerate the release cycle. However, if a Docker image is not updated, problems such as security risks or a lack of the latest features may occur. Therefore, in this paper, we propose a method for automatically updating the base image to the latest version when the image is considered to be the old version. Our method extracts the information of the base image from the Dockerfile described by the user, and infers the version of the base image that is considered to be certainly used. By applying our method, the user can regularly update the base image. Based on the evaluation result, we confirmed that our method recommends an approximately correct version to the users.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Cito, J., Schermann, G., Wittern, J.E., Leitner, P., Zumberi, S., Gall, H.C.: An empirical analysis of the docker container ecosystem on GitHub. In: 2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR), Buenos Aires, pp. 323–333 (2017)
Dietrich, J., Pearce, D., Stringer, J., Tahir, A., Blincoe K.: Dependency versioning in the wild. In: 2019 IEEE/ACM 16th International Conference on Mining Software Repositories (MSR), Montreal, QC, Canada, pp. 349–359 (2019)
Hassan, F., Rodriguez, R., Wang, X.: RUDSEA: recommending updates of Dockerfiles via software environment analysis. In: 2018 33rd IEEE/ACM International Conference on Automated Software Engineering (ASE), Montpellier, France, pp. 796–801 (2018)
Huang, Z., Wu, S., Jiang, S., Jin, H.: FastBuild: accelerating docker image building for efficient development and deployment of container. In: 35th Symposium on Mass Storage Systems and Technologies (MSST), Santa Clara, CA, USA, pp. 28–37 (2019)
Macho, C., McIntosh, S., Pinzger, M.: Automatically repairing dependency-related build breakage. In: IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER), Campobasso, pp. 106–117 (2018)
Raemaekers, S., Deursen, A., Visser, J.: Semantic versioning versus breaking changes: a study of the Maven repository. In: IEEE 14th International Working Conference on Source Code Analysis and Manipulation, Victoria, BC, pp. 215–224 (2014)
Schermann, G., Zumberi, S., Cito J.: Structured information on state and evolution of Dockerfiles on GitHub. In: IEEE/ACM 15th International Conference on Mining Software Repositories (MSR), Gothenburg, pp. 26–29 (2018)
Shah, J., Dubaria, D., Widhalm, J.: A survey of devops tools for networking. In: 9th IEEE Annual Ubiquitous Computing, Electronics & Mobile Communication Conference (UEMCON), New York City, NY, USA, pp. 185–188 (2018)
Yin, K., Chen, W., Zhou, J., Wu, G., Wei, J.: STAR: a specialized tagging approach for Docker repositories. In: 25th Asia-Pacific Software Engineering Conference (APSEC), Nara, Japan, pp. 426–435 (2018)
Zhang, Y., Yin, G., Wang, T., Yu, Y., Wang, H.: An insight into the impact of Dockerfile Evolutionary trajectories on quality and latency. In: IEEE 42nd Annual Computer Software and Applications Conference (COMPSAC), Tokyo, pp. 138–143 (2018)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Kitajima, S., Sekiguchi, A. (2020). Latest Image Recommendation Method for Automatic Base Image Update in Dockerfile. In: Kafeza, E., Benatallah, B., Martinelli, F., Hacid, H., Bouguettaya, A., Motahari, H. (eds) Service-Oriented Computing. ICSOC 2020. Lecture Notes in Computer Science(), vol 12571. Springer, Cham. https://doi.org/10.1007/978-3-030-65310-1_40
Download citation
DOI: https://doi.org/10.1007/978-3-030-65310-1_40
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-65309-5
Online ISBN: 978-3-030-65310-1
eBook Packages: Computer ScienceComputer Science (R0)