mirror of
https://github.com/ghndrx/file-transformer-s3.git
synced 2026-02-10 14:55:15 +00:00
Initial commit: File Transformer S3 project with React dashboard and Knative functions
This commit is contained in:
29
functions/Makefile
Normal file
29
functions/Makefile
Normal file
@@ -0,0 +1,29 @@
|
||||
.PHONY: build build-upload build-transform build-download build-metadata clean
|
||||
|
||||
# Build all functions
|
||||
build: build-upload build-transform build-download build-metadata
|
||||
|
||||
# Build upload function
|
||||
build-upload:
|
||||
@echo "Building upload function..."
|
||||
@cd upload && docker build -t function-upload:latest .
|
||||
|
||||
# Build transform function
|
||||
build-transform:
|
||||
@echo "Building transform function..."
|
||||
@cd transform && docker build -t function-transform:latest .
|
||||
|
||||
# Build download function
|
||||
build-download:
|
||||
@echo "Building download function..."
|
||||
@cd download && docker build -t function-download:latest .
|
||||
|
||||
# Build metadata function
|
||||
build-metadata:
|
||||
@echo "Building metadata function..."
|
||||
@cd metadata && docker build -t function-metadata:latest .
|
||||
|
||||
# Clean all function images
|
||||
clean:
|
||||
@echo "Cleaning function images..."
|
||||
@docker rmi function-upload:latest function-transform:latest function-download:latest function-metadata:latest 2>/dev/null || true
|
||||
Reference in New Issue
Block a user