Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): add support for direct Dockerfile builds #455

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Mar 13, 2024

  1. feat(image): introduce DockerImage class for flexible image handling

    Redefines the approach to building and managing Docker images within testcontainers by introducing the DockerImage class. This class encapsulates the logic for building images from Dockerfiles and pulling images from repositories.
    
    Key Changes:
    - Implements DockerImage as a central class for image operations, including build, pull, get, and remove.
    - Add this class as acceptable image param type for DockerContainer and DockerClient
    - Enables direct Dockerfile support while preserving the option to pull existing images, facilitating a more dynamic testing setup.
    
    This refactor addresses feedback on the initial implementation, proposing a cleaner, more extensible design.
    bricefotzo committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    88cf9a8 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    c685988 View commit details
    Browse the repository at this point in the history
  2. fix: linting

    totallyzen committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    8a1c370 View commit details
    Browse the repository at this point in the history