Skip to content

Add "--cpus" docker parameter support#300

Open
neonman63 wants to merge 1 commit intoKostyaSha:masterfrom
neonman63:cpus
Open

Add "--cpus" docker parameter support#300
neonman63 wants to merge 1 commit intoKostyaSha:masterfrom
neonman63:cpus

Conversation

@neonman63
Copy link
Copy Markdown

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

<artifactId>docker-java-transport-jersey</artifactId>
<version>${docker-java.version}</version>
</dependency>
</dependency> -->
Copy link
Copy Markdown
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
Copy Markdown
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