Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Jan 31, 2021
1 parent d6d6248 commit fbfe296
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,16 @@ schema/project-schema.json:
VERSION = "v1.2.25"
IM=obolibrary/odkfull
DEV=obolibrary/odkdev
ROBOT_JAR="https://build.obolibrary.io/job/ontodev/job/robot/job/cmd-metrics/6/artifact/bin/robot.jar"
ROBOT_JAR_ARGS=
#--build-arg ROBOT_JAR=$(ROBOT_JAR)

docker-build-no-cache:
@docker build --build-arg ODK_VERSION=$(VERSION) --no-cache -t $(IM):$(VERSION) . \
@docker build --build-arg ODK_VERSION=$(VERSION) $(ROBOT_JAR_ARGS) --no-cache -t $(IM):$(VERSION) . \
&& docker tag $(IM):$(VERSION) $(IM):latest

docker-build:
@docker build --build-arg ODK_VERSION=$(VERSION) -t $(IM):$(VERSION) . \
@docker build --build-arg ODK_VERSION=$(VERSION) $(ROBOT_JAR_ARGS) -t $(IM):$(VERSION) . \
&& docker tag $(IM):$(VERSION) $(IM):latest

docker-build-use-cache-dev:
Expand Down

0 comments on commit fbfe296

Please sign in to comment.