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 Dec 11, 2019
nigthknight:master
Merged
Update nmap version to 7.80#29J12934 merged 20 commits intosecureCodeBox:masterfrom nigthknight:master
J12934 merged 20 commits intosecureCodeBox:masterfrom
nigthknight:master
Conversation
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
suggested changes
Dec 9, 2019
This improves the build time as the packages can be properly cached
J12934
approved these changes
Dec 11, 2019
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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