Skip to content

Commit

Permalink
Moved datomic bundle download into separate target (for improved repe…
Browse files Browse the repository at this point in the history
…at-performance)
  • Loading branch information
mluypaert committed Jan 26, 2024
1 parent c2fe52a commit ffee94e
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 @@ -90,11 +90,14 @@ show-version: ENV.VERSION_TAG \
build/:
mkdir build/

build/datomic-pro-1.0.6165.zip:
@echo "Downloading datomic bundle from S3."
@aws s3 cp s3://wormbase/datomic-pro/distro/datomic-pro-1.0.6165.zip build/

.PHONY: build-docker-image
build-docker-image: build/ ENV.VERSION_TAG ${STORE_SECRETS_FILE} \
build-docker-image: build/ ENV.VERSION_TAG ${STORE_SECRETS_FILE} build/datomic-pro-1.0.6165.zip \
$(call print-help,build,\
Build the docker image from the current git revision.)
@aws s3 cp s3://wormbase/datomic-pro/distro/datomic-pro-1.0.6165.zip build/
@docker build -t ${ECR_REPO_NAME}:${VERSION_TAG} \
--secret id=make-secrets-file,src=${STORE_SECRETS_FILE} \
.
Expand Down

0 comments on commit ffee94e

Please sign in to comment.