ICSSP 2023
Sun 14 - Mon 15 May 2023 Melbourne, Australia
co-located with ICSE 2023
Sun 14 May 2023 11:00 - 11:20 at Meeting Room 104 - Paper Session 1 (Process Automation)

Containerization allows developers to define the execution environment in which their software needs to be installed. Docker is the leading platform in this field, and developers that use it are required to write a Dockerfile for their software. Writing Dockerfiles is far from trivial, especially when the system has unusual requirements for its execution environment. Despite several tools exist to support developers in writing Dockerfiles, none of them is able to generate entire Dockerfiles from scratch given a high-level specification of the requirements of the execution environment. In this paper, we present a study in which we aim at understanding to what extent Deep Learning (DL), which has been proven successful for other coding tasks, can be used for this specific coding task. We preliminarily defined a structured natural language specification for Dockerfile requirements and a methodology that we use to automatically infer the requirements from the largest dataset of Dockerfiles currently available. We used the obtained dataset, with 670,982 instances, to train and test a Text-to-Text Transfer Transformer (T5) model, following the current state-of-the-art procedure for coding tasks, to automatically generate Dockerfiles from the structured specifications. The results of our evaluation show that T5 performs similarly to the more trivial IR-based baselines we considered. We also report the open challenges associated with the application of deep learning in the context of Dockerfile generation.

Sun 14 May

Displayed time zone: Hobart change

11:00 - 12:30
Paper Session 1 (Process Automation)ICSSP 2023 at Meeting Room 104
11:00
20m
Full-paper
Automatically Generating Dockerfiles via Deep-Learning: Challenges and Promises
ICSSP 2023
Giovanni Rosa University of Molise, Antonio Mastropaolo Università della Svizzera italiana, Simone Scalabrino University of Molise, Gabriele Bavota Software Institute, USI Università della Svizzera italiana, Rocco Oliveto University of Molise
11:20
20m
Full-paper
An Experience Report on Assessing Software Engineer’s Outputs in Practice
ICSSP 2023
Juzheng Zhang Nanjing University, He Zhang Nanjing University, Lanxin Yang Nanjing University, China, Liming Dong Nanjing University, Yue Li
11:40
20m
Full-paper
Automatic Detection of Security Deficiencies and Refactoring Advises for Microservices
ICSSP 2023
Burak Ünver , Ricardo Britto Ericsson / Blekinge Institute of Technology