From 8b46a367e38350ff98b3486bd8a151240ee3945f Mon Sep 17 00:00:00 2001 From: Rohith Date: Wed, 16 Mar 2016 16:25:10 +0000 Subject: [PATCH] - removing the sudo requirement from the makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 385c96e..c5248cc 100644 --- a/Makefile +++ b/Makefile @@ -21,12 +21,12 @@ static: docker: static @echo "--> Building the docker image" - sudo docker build -t ${AUTHOR}/${NAME}:${VERSION} . + docker build -t ${AUTHOR}/${NAME}:${VERSION} . push: docker @echo "--> Pushing the image to docker.io" - sudo docker tag -f ${AUTHOR}/${NAME}:${VERSION} docker.io/${AUTHOR}/${NAME}:${VERSION} - sudo docker push docker.io/${AUTHOR}/${NAME}:${VERSION} + docker tag -f ${AUTHOR}/${NAME}:${VERSION} docker.io/${AUTHOR}/${NAME}:${VERSION} + docker push docker.io/${AUTHOR}/${NAME}:${VERSION} release: static mkdir -p release