mirror of
https://github.com/sstent/unifi.git
synced 2025-12-06 06:01:37 +00:00
remove version dependencies
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
VERS=5.0
|
||||
VMNAME=${1:-unifi}
|
||||
if [ -r Dockerfile.$VMNAME ]; then
|
||||
DOCKER_USER=${DOCKER_USER:-tommi2day}
|
||||
#build the container
|
||||
docker stop $VMNAME
|
||||
docker rm $VMNAME
|
||||
docker build -t $DOCKER_USER/$VMNAME:$VERS -f Dockerfile.$VMNAME .
|
||||
docker build -t $DOCKER_USER/$VMNAME -f Dockerfile.$VMNAME .
|
||||
else
|
||||
echo "Usage: $0 VMNAME #Dockerfile.VMNAME must exists"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user