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

Update nmap version to 7.80#29

Merged
J12934 merged 20 commits intosecureCodeBox:masterfrom
nigthknight:master
Dec 11, 2019
Merged

Update nmap version to 7.80#29
J12934 merged 20 commits intosecureCodeBox:masterfrom
nigthknight:master

Conversation

@nigthknight
Copy link
Copy Markdown
Member

To update nmap to version 7.80 i introduced a multi-staged Dockerfile.
This was necessary because nmap 7.80 is not in the stable release channel of alpine.
To get the latest version of nmap it was necessary to build nmap from source in a build environment for alpine

In order to install nmap 7.80 i had to change the base image from
node:10-alpine to node:10-buster.

nmap-scripts seem to be a subpackage of nmap so i removed it

Changing the base image was breaking the addgroup and adduser commands so i changed
the flags for debian buster.
In order to install nmap i disabled the installation via apt-get.
The Package is now downloaded directly from nmap.org as rpm Package.
In order install it i repackage it with alien and install the created
Package via dpkg
I summarized all the RUN instructions into just one to decrease amount
of created layers
@J12934 J12934 self-requested a review December 9, 2019 11:44
@J12934 J12934 added the enhancement New feature or request label Dec 9, 2019
@J12934 J12934 merged commit b48330d into secureCodeBox:master Dec 11, 2019
@J12934 J12934 mentioned this pull request Jan 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants