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 dockerfile for v5 changes, and other misc fixes / enhancements #2948

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

zestysoft
Copy link

Description

Made some modifications to the Dockerfile to support the changes made in v5. In particular, using ther --build switch when running server.py

I've also included some additional code to make a number of warnings go away that have existed since at least v4 including installing upx, and adding a conditional check for the human plugin that will install a number of dependencies.

Finally some modules in requirements.txt have vulnerabilities, so I've minimally bumped those versions up

Most of the stuff in the entrpoint.sh is for the human plugin's module requirements that expect a gui. It should be harmless if human is not enabled.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

I've built and use the container in my kubernetes environment without issues so far.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

…ve vulnerabilities, and move the entrypoint code into a shell to allow for human plugin support

Signed-off-by: Ian Brown <ian@zestysoft.com>
Signed-off-by: Ian Brown <ian@zestysoft.com>
Signed-off-by: Ian Brown <ian@zestysoft.com>
Signed-off-by: Ian Brown <ian@zestysoft.com>
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.

None yet

1 participant