jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-39748] Since 37987 images that use ENTRYPOINT for a reason cannot be used in testing

Open
#455 12 comments 0 reactions 0 assignees View on GitHub
component:docker-workflow-plugin enhancement imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
527
Forks
422
Avg merge
10m
Merged PRs (30d)
1

Description

The fix for the issues with maven in JENKINS-37987 broke workflows that have images where the container is run and the ENTRYPOINT is epxecxted to be used... one example being a container with systemd

there should be a way to do something like:

docker.image('foo').inside {

sh 'make test'
}

and have the ENTRYPOINT still run

---
Originally reported by hogarthj, imported from: Since 37987 images that use ENTRYPOINT for a reason cannot be used in testing


  • assignee: hogarthj
  • status: In Review
  • priority: Major
  • component(s): docker-workflow-plugin
  • resolution: Unresolved
  • votes: 19
  • watchers: 27
  • imported: 2025-12-07

Raw content of original issue

The fix for the issues with maven in JENKINS-37987 broke workflows that have images where the container is run and the ENTRYPOINT is epxecxted to be used... one example being a container with systemd

there should be a way to do something like:


docker.image('foo').inside {

sh 'make test'
}

and have the ENTRYPOINT still run

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.