We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77b17e3 commit 9503609Copy full SHA for 9503609
spark-cluster/slave/Makefile
@@ -1,10 +1,20 @@
1
-# Name of the Docker image
2
IMAGE_NAME=spark-slave
3
PLATFORM=linux/amd64
+ORGANIZATION=oneoffcoder
4
+VERSION=0.0.1
5
+VER_TAG := $(ORGANIZATION)/$(IMAGE_NAME):$(VERSION)
6
+LAT_TAG := $(ORGANIZATION)/$(IMAGE_NAME):latest
7
8
build:
9
docker build --platform=$(PLATFORM) -t $(IMAGE_NAME) .
10
11
+push:
12
+ docker tag $(IMAGE_NAME) $(VER_TAG)
13
+ docker tag $(IMAGE_NAME) $(LAT_TAG)
14
+
15
+ @echo "docker push $(VER_TAG)"
16
+ @echo "docker push $(LAT_TAG)"
17
18
run:
19
docker run \
20
-it \
0 commit comments