Skip to content

Java version of Dockerfile lacks build stage resulting in build failure for newly cloned repo. #322

Description

@GREENRAT-K405

Currently, running docker build -f Dockerfile.java . on a freshly cloned repo fails because The Dockerfile relies on a single-stage build that attempts to copy a pre-compiled JAR file from the host machine's ./target/ directory which may not exist already.

Solution: two-stage build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions