Newer
Older
docker-analytics / Makefile
all: spark pyspark kafka

spark: spark/Dockerfile spark/start-master.sh spark/start-worker.sh
	docker build $(BUILD_OPTS) -t analytics/spark:latest -f $< $@

# Rebuild both the following if spark changes!
pyspark: pyspark/Dockerfile pyspark/kernel.json pyspark/pyspark-kernel.sh
	docker build $(BUILD_OPTS) -t analytics/pyspark:latest -f $< $@

kafka: kafka/Dockerfile kafka/start-kafka.sh
	docker build $(BUILD_OPTS) -t analytics/kafka:latest -f $< $@