portable-portainer/build

11 lines
263 B
Plaintext
Raw Permalink Normal View History

2021-10-06 04:48:34 +00:00
#!/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}