Build CentOS based docker image
257
This image come with a script ( /root/build.sh ) which executes and creates a custom Centos image from scratch
export SOURCE="http://mozart.ee.ic.ac.uk/CentOS/7/os/x86_64/" && \
export LATEST=true && \
export ORG="dummies" && \
docker run --rm -u root -e "ORG=$ORG" -e "SOURCE=$SOURCE" -e "LATEST=$LATEST" -v /var/run/docker.sock:/var/run/docker.sock dmascot/imagebuilder
Example above should produce an image called dummies/centos:7.4 , also tag it as dummies/centos:latest
Content type
Image
Digest
Size
126.3 MB
Last updated
almost 9 years ago
docker pull dmascot/imagebuilder