Open lilyjw opened 1 year ago
@lilyjw Core plugins to caldera
have dependencies installed via a requirements file during the build of the docker image - as this is a stand-alone plugin at this time, we need to build the Dockerfile with these dependencies added.
Thank you for identifying this bug. I'll create a PR to update the repo https://github.com/mitre-atlas/caldera-atlas with python3.10-venv
included!
Temporary workaround: Add python3-venv
to the RUN apt-get ...
step in the caldera/Dockerfile
, then re-run docker-compose build
Describe the bug Arsenal encounters an error about not having
python3.10-venv
available during start within caldera-atlas usage, i.e. CALDERA in a Docker container.Not sure where to address - is there a way to define additional dependencies for CALDERA to install from a plugin? Or is this something caldera-atlas should do.
To Reproduce Steps to reproduce the behavior:
Set up caldera-atlas
git clone --recursive https://github.com/mitre-atlas/caldera-atlas
If one has SSH keys uploaded, this should check out all submodules.Otherwise, there may be failures because some submodules have SSH URLs. To resolve: a.
git checkout https
to get the branch with HTTPS URLs b.git submodule sync --recursive && git submodule update --init
docker-compose build
If one gets an OpenSSL UnsafeLegacyRenegotiation error, resolve it as one sees fit but can add this tocaldera-atlas/caldera/Dockerfile ~L18
after theRUN apt-get ...
docker-compose up -d
The container exits shortly after this - see the trace below
Expected behavior Container stays up
Trace From the Docker container log of CALDERA (the caldera-atlas service):
Desktop (please complete the following information): Ubuntu 22.04 but running CALDERA as a container using its own Dockerfile, which uses ubuntu:latest
Additional context Add any other context about the problem here.