oasis-open / openc2-oif-orchestrator

OASIS TC Open Repository: Supports development OpenC2 Integration Framework (OIF) Orchestrator
https://github.com/oasis-open/openc2-oif-orchestrator
Apache License 2.0
4 stars 8 forks source link

configure.py fails to build docker images #49

Closed mvle closed 2 years ago

mvle commented 2 years ago

Trying to build the project's docker images with configure.py but it is failing. Looks like it could be an alpine version compatibility issue with velocitypack.

Changing base/Dockerfile_alpine: FROM alpine:latest => FROM alpine:3.13 seems to work but then the logger-gui image would fail to build.

ScreamBun commented 2 years ago

These are both known issues that have not been resolved within the Oasis repos as of yet. The development branch of our fork have these resolved.

mvle commented 2 years ago

Just tried the development branch from above but still getting an error when building logger_gui image.

docker.errors.BuildError: The command '/bin/sh -c apk add --no-cache git yarn && cd /tmp/gui && yarn cache clean && yarn --network-timeout 100000 || yarn --network-timeout 100000 && yarn build && mkdir -p /opt/syslog/gui && cp -r build/* /opt/syslog/gui' returned a non-zero code: 1

EDIT: there was a new push to the repo I didn't notice. Pulling and trying this new version now...

mvle commented 2 years ago

build seems to work now

mvle commented 2 years ago

Not sure where to leave this issue as the ScreamBun repo doesn't have an issue tracker...

The docker-compose -f orchestrator-compose.yaml up command doesn't work as the yaml file contains consumer-core that is not defined.

Sorry if these problems are fixed but not yet pushed. Should I just wait until all the fixes have been pushed to OASIS before trying again?

dlemire60 commented 2 years ago

This repo is the right spot for issues, whether for development or final release versions.

ScreamBun commented 2 years ago

There is a new push on the development branch. Building and docker-compose ... up all appear to be functional. It appears the reference to 'consumer-core' we missed in removal during testing of another portion of the Orchestrator.

mvle commented 2 years ago

Works. Thanks!