Skip to contents

Sort instructions in a dockerfile by type

Usage

dfm_sort_by_instruction(dockerfile, order = NULL)

Arguments

dockerfile

A dockerfile object

order

Custom order for instructions (optional)

Value

Updated dockerfile with sorted instructions