Skip to main content

Latest Image Recommendation Method for Automatic Base Image Update in Dockerfile

  • Conference paper
  • First Online:
Service-Oriented Computing (ICSOC 2020)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 12571))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.docker.com/.

  2. 2.

    https://hub.docker.com/.

  3. 3.

    https://semver.org/.

  4. 4.

    https://docs.docker.com/engine/reference/builder/.

  5. 5.

    https://github.com/.

  6. 6.

    https://git-scm.com/.

  7. 7.

    https://about.gitlab.com/.

  8. 8.

    https://docs.docker.com/registry/spec/api/.

References

  1. 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)

    Google Scholar 

  2. 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)

    Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shinya Kitajima .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics