Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Docker in docker is not supported #155

Open
martinda opened this issue Aug 25, 2020 · 2 comments
Open

Docker in docker is not supported #155

martinda opened this issue Aug 25, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@martinda
Copy link
Contributor

martinda commented Aug 25, 2020

When the configuration specification contains build: "true" like so:

buildSettings:
  docker:
    build: "true"

The war file generation fails with:

java.io.IOException: Cannot run program "docker" (in directory "tmp/output"): error=2, No such file or directory

This was discovered as part of PR #141

@martinda martinda added the enhancement New feature or request label Aug 25, 2020
@martinda
Copy link
Contributor Author

Solution for now is to set the build to false:

buildSettings:
  docker:
    build: "false"
    tag: "tag1"
    base: "jenkins/jenkins:2.235.5-lts-jdk11"

@sladyn98
Copy link
Contributor

Set the build option to false so that the user is setup for success in the war generation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants