Editor: Sam
Build the Dockerfile automatically.
- Download the job
git pull https://github.com/m4wjw/dockerpack.git
- Grant the executive mod to the file
chmod +x dockerpack
- Move it to /usr/bin/
mv ./dockerpack /usr/bin/
- You should confirm that the file "Dockerfile" is existing in each package.
- The "Dockerfile" must be named as "Dockerfile".
dockerpack {the present path of the packages} <-v>
-v : verbose
You could find the functioning log in /tmp
Run docker images
, you could notice that the docker images have been built and preserved in the docker.