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

Add "--cpus" docker parameter support #300

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

neonman63
Copy link

This is needed for limiting consumption of cpus on the server for running containers

<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport-jersey</artifactId>
<version>${docker-java.version}</version>
</dependency>
</dependency> -->
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's wrong with jersey? This type of connector is working and has corresponding classes that will fail AFAIR

Copy link
Author

@neonman63 neonman63 Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this dependency, my project is not being built locally:

[WARNING] Rule 4: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed with message:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for org.apache.httpcomponents:httpcore:4.4.10 paths to dependency are:
+-com.github.kostyasha.yet-another-docker:yet-another-docker-plugin:0.2.1-SNAPSHOT
  +-com.github.kostyasha.yet-another-docker:yet-another-docker-java:0.2.1-SNAPSHOT
    +-com.github.docker-java:docker-java-transport-jersey:3.2.0
      +-org.apache.httpcomponents:httpcore:4.4.10
and
+-com.github.kostyasha.yet-another-docker:yet-another-docker-plugin:0.2.1-SNAPSHOT
  +-com.github.kostyasha.yet-another-docker:yet-another-docker-java:0.2.1-SNAPSHOT
    +-com.github.docker-java:docker-java-transport-jersey:3.2.0
      +-org.apache.httpcomponents:httpclient:4.5.11
        +-org.apache.httpcomponents:httpcore:4.4.13
]

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.

2 participants