portable-portainer/build
Adolfo Delorenzo 5926fbd130 first commit
2021-10-05 22:48:34 -06:00

11 lines
263 B
Bash
Executable File

#!/bin/bash
imagename="portable-portainer"
if [ $# -eq 0 ];then
tagver="latest"
else
tagver="${1}"
fi
echo "Now building: ${imagename}:${tagver}"
docker build --rm=true --no-cache=true --pull=true -t ${imagename}:${tagver} .
#docker push ${imagename}:${tagver}