Docker Community Forums

Share and learn in the Docker community.

Update/Install OpenJDk in Docker container

Hello,
I am deploying docker container from Jenkins pipeline and trying to run my java project within the container.
After docker container is installed, gradle starts building my project and fails to find tools.jar .
I do have jdk installation on the docker image but tools.jar is missing.
Is there a way to either

  1. re-install openjdk inside docker container from jenkins pipeline
    OR
  2. copy tools.jar inside docker container.

Any pointer would be highly appreciated

Thanks
Harshala