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 authored and dcermak committed Aug 7, 2023
1 parent 7445313 commit 084d2bb
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 084d2bb

Please sign in to comment.