mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2026-01-12 19:46:24 +03:00
Add docker buildkit flag (#6219)
* chore: add docker buildkit flag * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
4eec55324d
commit
baedf4bb73
|
|
@ -1,5 +1,6 @@
|
|||
# ruff: noqa: PLR0133
|
||||
import json
|
||||
import os
|
||||
import random
|
||||
import shutil
|
||||
import string
|
||||
|
|
@ -532,6 +533,10 @@ def setup_dependencies():
|
|||
".",
|
||||
],
|
||||
check=True,
|
||||
env={
|
||||
**os.environ,
|
||||
"DOCKER_BUILDKIT": "1",
|
||||
},
|
||||
)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(f"Error building Docker image: {e}", file=sys.stderr)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user