Commit fdf73db2 authored by Romulo Pereira Goncalves's avatar Romulo Pereira Goncalves
Browse files

Remove sudo

parent a290cbd4
......@@ -10,10 +10,10 @@ container_name="hasa"
#Check if image exists
if [ $(sudo docker images | grep ${runner_iname} | wc -l) == 0 ]
if [ $(docker images | grep ${runner_iname} | wc -l) == 0 ]
# build docker image
sudo docker build --network=host -f ${context_dir}/${dockerfile} -m 20G -t ${runner_tag} ${context_dir}
docker build --network=host -f ${context_dir}/${dockerfile} -m 20G -t ${runner_tag} ${context_dir}
echo "It already exists a Docker image with the name ${runner_tag}!!!"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment