Skip to content

Commit

Permalink
Switch to legacy build backend for docker
Browse files Browse the repository at this point in the history
the new buildkit backend does no longer provide the stdout output
that we'er expecting, so as a simple fix hard code the legacy one
for now. This needs to be addressed in a larger rewrite.
  • Loading branch information
dirkmueller committed Aug 4, 2023
1 parent a672940 commit 35c5fa2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pytest_container/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,13 @@ def _runtime_error_message() -> str:

def __init__(self) -> None:
super().__init__(
build_command=["docker", "build", "--force-rm"],
build_command=[
"env",
"DOCKER_BUILDKIT=0",
"docker",
"build",
"--force-rm",
],
runner_binary="docker",
_runtime_functional=self._runtime_functional,
)
Expand Down

0 comments on commit 35c5fa2

Please sign in to comment.