Roy Moore
Roy Moore
## Overview So basically as you can see from the title this adds a functionally that I think is super useful, supporting working with Dockerfile for achieving even more compatibility...
Ref #562 This enhancement adds capability to utilize the env var `DOCKER_AUTH_CONFIG` in-order to login to a private docker registry.
Supports: https://github.com/testcontainers/testcontainers-python/issues/305 Related : https://github.com/testcontainers/testcontainers-python/pull/691 https://github.com/testcontainers/testcontainers-python/pull/692 #700 ``` poetry run mypy --config-file pyproject.toml core/testcontainers/core/version.py Success: no issues found in 1 source file ``` Old ``` Error Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┓ ┃ File...
Supports: https://github.com/testcontainers/testcontainers-python/issues/305 Related : https://github.com/testcontainers/testcontainers-python/pull/691 https://github.com/testcontainers/testcontainers-python/pull/692 #700 Based on #504, kudos @alexanderankin ``` poetry run mypy --config-file pyproject.toml core/testcontainers/core/docker_client.py Success: no issues found in 1 source file ``` Old ```...
Fix: #706, https://github.com/testcontainers/testcontainers-python/pull/614 Now when using kwargs in the Image API, the params are passed correctly into the build ```python with DockerImage(path=dir, tag="test", buildargs={"MY_ARG": "some_arg"}) as image: ``` Added relevant...
Supports: https://github.com/testcontainers/testcontainers-python/issues/305 Related : #691 #692 ### Overview 1. Updated Mypy 2. Add a new dev script to allow easy reporting on Mypy errors (Using it in the makefile) 4....
Fix: #674 Changes: 1. Proper type hinting for ports bindings, support strings like `8080/tcp` or `8125/udp` 2. Backward compatible with `int` 3. More test coverage 4. Improve documentations regarding the...
Fix: https://github.com/testcontainers/testcontainers-python/issues/687 Users should not be required to load each env var manually if they have an env file. Added support for loading a dot-env file. Usage: ```python with DockerContainer("nginx:latest").with_env_file("my_env_file"):...
**Describe the bug** When using kwargs in the Image API, the params are not passed into the `build` **To Reproduce** For example: ```python with DockerImage(path="./", tag="new:test", buildargs={"PIP_EXTRA_INDEX_URL": PIP_EXTRA_INDEX_URL}) as image:...
**What are you trying to do?** Add missing implementation of ```docker run --env-file ...``` **Why should it be done this way?** Users should not be required to load each env...