docker.image('maxys/docusaurus-pdf:latest').withRun ("from-build --no-sandbox -v /var/jenkins_home/workspace/docs:/workspace -o /workspace/build/internal.pdf /workspace/build docs/Docusaurus/DocusaurusGetStarted docs")in any way?
--and when I do it the way above Jenkins try to pull 'customArgument' image.
docker run -d from-build --no-sandbox -o build/img/internal.pdf build docs/Docusaurus/DocusaurusGetStarted docs maxys/docusaurus-pdf:latest Unable to find image 'from-build:latest' locally docker: Error response from daemon: pull access denied for from-build, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
slimvariant that uses Debian slim and an Alpine variant for those who prefer Alpine
alpinetag is more likely what you want if you're seeking a minimal environment
plugins.txtfile that will allow you to build a Docker image where you have network access, then you can transport the created image into the environment that has no network access.
custom war packagerthat will create a custom war file that includes a set of plugins and other configurations. There is the Google Summer of Code project "Custom Jenkins distribution build service" currently running that is creating something that might be similar to what you're envisioning.