Skip to content

Commit

Permalink
Adds seqkit 2.x build hook
Browse files Browse the repository at this point in the history
  • Loading branch information
hlfernandez committed Sep 1, 2023
1 parent 91db7f0 commit f9e5e6a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions seqkit/2.x/hooks/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

if [ -z ${VERSION} ]; then
echo "VERSION environment variable not set."
exit 1
else
echo "Building ${VERSION}"

docker build -f ${DOCKERFILE_PATH} --build-arg VERSION=${VERSION} -t ${IMAGE_NAME}
fi

0 comments on commit f9e5e6a

Please sign in to comment.