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

Consider dockerizing opera CLI and opera API #135

Open
anzoman opened this issue Dec 7, 2020 · 3 comments
Open

Consider dockerizing opera CLI and opera API #135

anzoman opened this issue Dec 7, 2020 · 3 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@anzoman
Copy link
Contributor

anzoman commented Dec 7, 2020

Description

The cloud native solutions along with containerized (dockerized) microservices are becoming more and more popular. Microservices nowadays usually run in the hybrid cloud environments inside Docker containers that can be orchestrated with Kubernetes, managed by RedHat OpenShift and so on.

We can join this flow too. This is currently just a proposition, but opera orchestrator or its parts could be available inside the Docker container. This would bring a lot of flexibility and would allow users to use opera better within their (cloud) apps, so they could use the orchestrator in the cloud every time they need. Thing that can currently be put in a Docker container are opera CLI and opera API. They can stand in separate container or could be joined in just one Docker image.

Steps

To realize this idea we could connect our opera GitHub repository with DockerHub (a new opera repository should be created there before that) and configure CI build that will build and push the opera Docker images to DockerHub every time that we create a new develop or production opera release (that's when we push on master branch or when a new git tag is created).

Current behaviour

Right now opera does not provide Docker images.

Expected results

To be able to use the opera TOSCA orchestrator from a Docker container.

@anzoman anzoman added enhancement New feature or request question Further information is requested labels Dec 7, 2020
@cankarm
Copy link
Contributor

cankarm commented Dec 8, 2020

This is a good idea and we can proceed after more necessary things are done.

@anzoman
Copy link
Contributor Author

anzoman commented Jan 22, 2021

@cankarm to inform everyone - the first step towards this has been taken with #165 within the dev.sh bash script, where a local CI Docker container can be built for the testing of Pipfile packages installation (user can run ./dev.sh integration). We also added .dockerignore file which will ignore some unnecessary files when building Docker images.

anzoman added a commit that referenced this issue Nov 18, 2021
In #135 we presented the idea of dockerizing xOpera tools. Now, we're
one step forward as we're adding Dockerfile so that every user can
build his own Docker image with opera. And for the future we'll try to
start publishing Docker images on Docker Hub.
@anzoman
Copy link
Contributor Author

anzoman commented Nov 19, 2021

The Dockerfile was added in 4a228a8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants