...
- put it into a working directory on a Docker host
- cd into the working directory
create the image with
Code Block language bash docker build --rm -t jsagent .
The dockerfile is based on the jre8 image of https://registry.hub.docker.com/_/java/. It downloads the most recent release of the JobScheduler Universal Agent and extracts it in the /root directory.
...