Skip to content

Commit

Permalink
cleaned up make files to push latest
Browse files Browse the repository at this point in the history
  • Loading branch information
akmorrow13 committed Aug 5, 2020
1 parent 6598822 commit 8f71457
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions mango-jenkins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
git_commit ?= $(shell git log --pretty=oneline -n 1 | cut -f1 -d " ")
name = bigdatagenomics/mango-jenkins
tag = 0.0.1--${git_commit}
build_tool = runtime-container.DONE

# Steps
build: Dockerfile
cd ../miniconda3-maven3-openjdk8 && make build
docker build -t ${name}:${tag} .
-docker rmi ${name}:latest
docker tag ${name}:${tag} ${name}:latest
touch ${build_tool}

clean:
docker rmi -f ${name}:${tag} ${name}:${tag}
Expand Down
4 changes: 4 additions & 0 deletions maven3-openjdk8-alpine/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
git_commit ?= $(shell git log --pretty=oneline -n 1 | cut -f1 -d " ")
name = bigdatagenomics/maven3-openjdk8-alpine
tag = 0.0.1--${git_commit}
build_tool = runtime-container.DONE

# Steps
build: Dockerfile
docker build -t ${name}:${tag} .
-docker rmi ${name}:latest
docker tag ${name}:${tag} ${name}:latest
touch ${build_tool}

clean:
docker rmi -f ${name}:${tag} ${name}:${tag}
Expand Down
4 changes: 4 additions & 0 deletions maven3-openjdk8/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Definitions
git_commit ?= $(shell git log --pretty=oneline -n 1 | cut -f1 -d " ")
name = bigdatagenomics/maven3-openjdk8
build_tool = runtime-container.DONE
tag = 0.0.1--${git_commit}

# Steps
build: Dockerfile
docker build -t ${name}:${tag} .
-docker rmi ${name}:latest
docker tag ${name}:${tag} ${name}:latest
touch ${build_tool}

clean:
docker rmi -f ${name}:${tag} ${name}:${tag}
Expand Down
5 changes: 4 additions & 1 deletion miniconda3-maven3-openjdk8/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ build_output = ${runtime_path}/miniconda3-maven3-openjdk8
git_commit ?= $(shell git log --pretty=oneline -n 1 | cut -f1 -d " ")
name = bigdatagenomics/miniconda3-maven3-openjdk8
tag = 0.0.1--${git_commit}

build_tool = runtime-container.DONE

# Steps
build: Dockerfile
cd ../maven3-openjdk8 && make build
docker build -t ${name}:${tag} .
-docker rmi ${name}:latest
docker tag ${name}:${tag} ${name}:latest
touch ${build_tool}

clean:
docker rmi -f ${name}:${tag} ${name}:${tag}
Expand Down

0 comments on commit 8f71457

Please sign in to comment.