aboutsummaryrefslogtreecommitdiff
path: root/intellij-idea/Makefile
blob: 598366f27cec5061fb7a4b4e5b826d7452110621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
IMAGE=intellij-idea:latest
VERSION=2017.1.4
REPO=575365190010.dkr.ecr.us-west-2.amazonaws.com

all:
	docker build --build-arg=idea_version=$(VERSION) -t $(IMAGE) .

all-no-cache:
	docker build --no-cache --build-arg=idea_version=$(VERSION) -t $(IMAGE) .

run:
	./run

publish:
	eval $$(aws ecr get-login --region us-west-2)
	docker tag $(IMAGE) $(REPO)/$(IMAGE)
	docker push $(REPO)/$(IMAGE)