Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update docker-related scripts to get them working and other minor miscellaneous fixes #68

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

mmguero
Copy link
Collaborator

@mmguero mmguero commented Mar 6, 2024

Updates to get Dockerized version working correctly and other miscellany

  • updated github workflow actions' versions
  • standardized in scripting and documentation calls to pip (from "pip" to "python3 -m pip")
  • updated copyright year to 2024
  • update base Docker image from Ubuntu kinetic to jammy
  • added "EXPOSE 5000" directive to Dockerfile for web UI server (although did not test the web UI server through docker)
  • removed deprecated misc/scan script (which is no longer maintained and will be removed) from local.zeek
  • updated navv-docker.sh command to run generate as default command
  • handled case in pushd context manager where new_dir was being passed in as None, causing an exception
  • although the documentation specified --output-dir and --zeek-logs would default to the current directory, this was not being done; added default=os.getcwd() to @click.option for those two parameters

@Dbones202 I've only tested the CLI generate command from within the docker container and via the navv-docker.sh script, and did not test/run/mess with anything to do with the web UI. While I don't think any of my changes should have any effect on the UI command, you might want to double-check that.

- updated github workflow actions' versions
- standardized in scripting and documentation calls to pip (from "pip" to "python3 -m pip")
- updated copyright year to 2024
- update base Docker image from Ubuntu kinetic to jammy
- added "EXPOSE 5000" directive to Dockerfile for web UI server (although did not test the web UI server through docker)
- removed deprecated misc/scan script (which is no longer maintained and will be removed) from local.zeek
- updated navv-docker.sh command to run `generate` as default command
- although the documentation specified --output-dir and --zeek-logs would default to the current directory, this was not being done; added default=os.getcwd() to @click.option for those two parameters
- handled case in pushd context manager where new_dir was being passed in as None, causing an exception

Signed-off-by: Seth Grover <[email protected]>
@mmguero mmguero requested a review from Dbones202 as a code owner March 6, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant