forked from Ivasoft/device-mapping-manager
fixed mounts
This commit is contained in:
9
build.sh
9
build.sh
@@ -5,7 +5,7 @@ set -eux
|
||||
ROOTFS=plugin/rootfs
|
||||
CONFIG=plugin/config.json
|
||||
|
||||
tag=redcanari/device-volume-driver
|
||||
tag=redcanari/dvd
|
||||
docker build -t "$tag" -f Dockerfile .
|
||||
id=$(docker create "$tag" true)
|
||||
rm -Rf $ROOTFS
|
||||
@@ -15,6 +15,7 @@ docker rm -vf "$id"
|
||||
docker rmi "$tag"
|
||||
cp config.json $CONFIG
|
||||
|
||||
docker plugin rm -f redcanari/device-volume-driver || echo
|
||||
docker plugin create redcanari/device-volume-driver ./plugin
|
||||
docker plugin enable redcanari/device-volume-driver
|
||||
docker plugin rm -f $tag || echo
|
||||
docker plugin create $tag ./plugin
|
||||
docker plugin push $tag
|
||||
#docker plugin enable $tag
|
||||
Reference in New Issue
Block a user