File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,10 @@ docker-build: ## Build Docker image
8585 test -e 'localstack/infra/stepfunctions/StepFunctionsLocal.jar' || make init
8686 # start build
8787 # --add-host: Fix for Centos host OS
88+ # --build-arg BUILDKIT_INLINE_CACHE=1: Instruct buildkit to inline the caching information into the image
89+ # --cache-from: Use the inlined caching information when building the image
8890 DOCKER_BUILDKIT=1 docker buildx build --pull --progress=plain \
91+ --cache-from $(TAG) --build-arg BUILDKIT_INLINE_CACHE=1 \
8992 --build-arg LOCALSTACK_BUILD_GIT_HASH=$(shell git rev-parse --short HEAD) \
9093 --build-arg=LOCALSTACK_BUILD_DATE=$(shell date -u +"%Y-%m-%d") \
9194 --add-host="localhost.localdomain:127.0.0.1" \
You can’t perform that action at this time.
0 commit comments