build: allow Docker cache for RPM builds
- Remove --no-cache flag from docker build command - Faster local builds by reusing cached layers Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
2
Makefile
2
Makefile
@ -88,7 +88,7 @@ debug: clean all
|
||||
## package: Build all RPM packages (el8, el9, el10)
|
||||
package:
|
||||
mkdir -p $(DIST_DIR)/rpm/el8 $(DIST_DIR)/rpm/el9 $(DIST_DIR)/rpm/el10
|
||||
docker build --no-cache --target output -t mod_reqin_log:packager \
|
||||
docker build --target output -t mod_reqin_log:packager \
|
||||
--build-arg VERSION=$(VERSION) \
|
||||
-f Dockerfile.package .
|
||||
@echo "Extracting packages from Docker image..."
|
||||
|
||||
Reference in New Issue
Block a user