Panel | ||||
---|---|---|---|---|
| ||||
Base ImageBase image is being built using docker build command. Dockerfile is the key to build the base image. Prerequisite tools/scripts should be defined in Dockefile. Container will spawn with the tools/scripts/utilities based on the Dockerfile definition. Base Image can be pushed to DockerHub/Nexus 3.x or any of the supported docker registries for further usage. How to Build Base Image ?docker build -t dockerRepositoryName:tag e.g. "docker build -t devopsbasservice/buildonframework:buildon-jenkinsfile" BuildOn Base Image location: https://hub.docker.com/r/devopsbasservice/buildonframework/ Base Image name: devopsbasservice/buildonframework:buildonJenkinsfile2.0 Tools bundled
|
...
|
...
Scripts/filesDocker file has the following key components:
|
...
|
...
|
...
|
...
|
...
|