Skip to content

Support Dockerfile-specific ignore-files #2353

Closed
@dhealio

Description

@dhealio

Ignore-files are important for shaping the build context, especially when the build context contains a large amount of files/data.

While docker-java v3.4.0 already supports .dockerignore at the root of the build context, it would be beneficial to additionally support Dockerfile-specific ignore-files.

  • Feature parity with docker build. See the documentation for details on how this works.
  • Allow use cases where multiple Dockerfiles live in the same directory, while having the ability to distinctly filter the build context.
  • Allow use cases where multiple Dockerfiles live in different directories and reference the same build context, while having the ability to distinctly filter the build context.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy