Skip to content

Enhancement: Refactor to use one set of Docker instruction name constants when processing Docker instruction/command info #74

Description

@kcq

We define constants for the Dockerfile instruction names in multiple places. Example:

https://github.com/mintoolkit/mint/blob/master/pkg/docker/instruction/instruction.go#L9 (e.g., Cmd = "cmd")
https://github.com/mintoolkit/mint/blob/master/pkg/docker/dockerfile/dockerfile.go#L19 (e.g., instTypeCmd = "CMD")
https://github.com/mintoolkit/mint/blob/master/pkg/docker/dockerfile/reverse/reverse.go#L108 (e.g., instTypeCmd = "CMD")

We need to have/use one set of Dockerfile instruction constants and we need to use this one set of names in the related code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions