Skip to content

Commit

Permalink
Upgrade to 7.31 Nmap release
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jan 25, 2017
1 parent dd7f976 commit d75aa2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN apk add --update --no-cache --virtual .build-deps \
curl \

&& curl -L -o /tmp/nmap.tar.bz2 \
https://nmap.org/dist/nmap-7.30.tar.bz2 \
https://nmap.org/dist/nmap-7.31.tar.bz2 \
&& tar -xjf /tmp/nmap.tar.bz2 -C /tmp \
&& cd /tmp/nmap* \
&& ./configure \
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@


IMAGE_NAME := instrumentisto/nmap
VERSION ?= 7.30
TAGS ?= 7.30,7,latest
VERSION ?= 7.31
TAGS ?= 7.31,7,latest

no-cache ?= no

Expand Down
2 changes: 1 addition & 1 deletion hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tagStart=$(expr index "$IMAGE_NAME" :)
repoName=${IMAGE_NAME:0:tagStart-1}

# Tag and push image for each additional tag
for tag in {7.30,7,latest}; do
for tag in {7.31,7,latest}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}
done

0 comments on commit d75aa2b

Please sign in to comment.