-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
45 lines (40 loc) · 1006 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.PHONY: build
build:
@echo "--- build"
mvn clean package
.PHONY: test
test:
@echo "--- test"
mvn clean test
.PHONY: release
release:
@echo "--- release"
mvn -D revision=$(REVISION) clean package
.PHONY: docker-base
docker-base:
@echo "--- docker-base"
docker build \
--tag data/chainsformer-spark-source/base \
--file containers/base.Dockerfile \
--platform linux/amd64 \
--progress plain \
.
.PHONY: docker-latest
docker-latest:
@echo "--- docker-latest"
docker build \
--tag data/chainsformer-spark-source/latest \
--file containers/latest.Dockerfile \
--platform linux/amd64 \
--progress plain \
--build-arg BUILDKITE_BRANCH=${BUILDKITE_BRANCH} \
.
.PHONY: docker-stable
docker-stable:
@echo "--- docker-stable"
docker build \
--tag data/chainsformer-spark-source/stable \
--file containers/stable.Dockerfile \
--platform linux/amd64 \
--progress plain \
--build-arg BUILDKITE_BRANCH=${BUILDKITE_BRANCH} \