Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
Add make GNU utility into the image
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Dec 14, 2018
1 parent 29e7a61 commit 8f7ebd5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN apk add --update --no-cache \
ca-certificates \
git \
openjdk8-jre-base \
make \
&& update-ca-certificates \
&& rm -rf /var/cache/apk/*

Expand Down
11 changes: 11 additions & 0 deletions test/suite.bats
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,14 @@
run docker run --rm $IMAGE java -help
[ "$status" -eq 0 ]
}


@test "contains make" {
run docker run --rm $IMAGE which make
[ "$status" -eq 0 ]
}

@test "make runs ok" {
run docker run --rm $IMAGE make --help
[ "$status" -eq 0 ]
}

0 comments on commit 8f7ebd5

Please sign in to comment.