Skip to content

Docker image (ghcr.io/mitre/caldera:5.0.0) does not contain Magma (dist) build files #2949

@d3vzer0

Description

@d3vzer0

Describe the bug
The docker image (ghcr.io/mitre/caldera:5.0.0) does not contain the Magma plugin (dist) build files. Starting the container will fail with the following error:

ValueError: No directory exists at '/usr/src/app/plugins/magma/dist/assets'

This could be caused by an older Dockerfile being used which does not build Magma plugin's Vue project as part of the docker build process. If I build the container myself using the latest Dockerfile found in the repo, the container will start successfully.

To Reproduce
Steps to reproduce the behavior:

  1. Start a caldera container with docker using docker run ghcr.io/mitre/caldera:5.0.0 or
  2. Start a caldera container with Podman using podman run ghcr.io/mitre/caldera:5.0.0

Expected behavior
The container to start successfully

Screenshots
Screenshot 2024-04-15 at 14 49 43

Desktop (please complete the following information):

  • OS: Rocky Linux

Metadata

Metadata

Labels

bugIndicates an unexpected problem or unintended behaviorno-issue-activityNeeds Attention

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions