- removing the sudo requirement from the makefile
This commit is contained in:
parent
653ca2592b
commit
8b46a367e3
6
Makefile
6
Makefile
|
@ -21,12 +21,12 @@ static:
|
||||||
|
|
||||||
docker: static
|
docker: static
|
||||||
@echo "--> Building the docker image"
|
@echo "--> Building the docker image"
|
||||||
sudo docker build -t ${AUTHOR}/${NAME}:${VERSION} .
|
docker build -t ${AUTHOR}/${NAME}:${VERSION} .
|
||||||
|
|
||||||
push: docker
|
push: docker
|
||||||
@echo "--> Pushing the image to docker.io"
|
@echo "--> Pushing the image to docker.io"
|
||||||
sudo docker tag -f ${AUTHOR}/${NAME}:${VERSION} docker.io/${AUTHOR}/${NAME}:${VERSION}
|
docker tag -f ${AUTHOR}/${NAME}:${VERSION} docker.io/${AUTHOR}/${NAME}:${VERSION}
|
||||||
sudo docker push docker.io/${AUTHOR}/${NAME}:${VERSION}
|
docker push docker.io/${AUTHOR}/${NAME}:${VERSION}
|
||||||
|
|
||||||
release: static
|
release: static
|
||||||
mkdir -p release
|
mkdir -p release
|
||||||
|
|
Reference in a new issue