1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Add rancher user and lock root

This commit is contained in:
Darren Shepherd
2015-02-20 11:29:17 -07:00
parent 7f3ee5d9ef
commit 4b2e98e238
6 changed files with 24 additions and 3 deletions

View File

@@ -22,6 +22,7 @@ generate_images()
if [ -e ${BUILD}/${IMAGE_ID} ]; then
DOCKER_BASE=$(<${BUILD}/${IMAGE_ID})
else
echo Running: docker run -d --privileged ${DOCKER_IMAGE} /source/scripts/build-images
CID=$(docker run -d --privileged ${DOCKER_IMAGE} /source/scripts/build-images)
docker logs -f ${CID} &
trap "docker rm -f ${CID}" exit