2023-02-28 16:32:37 +01:00
|
|
|
#!/bin/bash -x
|
2020-06-23 12:11:54 +02:00
|
|
|
VERSION=$1
|
|
|
|
if [[ ! -z $VERSION ]]; then
|
|
|
|
cp ../utils/discover_my_public_ip.sh ./discover_my_public_ip.sh
|
2020-05-08 12:03:34 +02:00
|
|
|
|
2021-05-12 12:24:18 +02:00
|
|
|
docker build --pull --no-cache --rm=true -t openvidu/openvidu-proxy:$VERSION .
|
2020-05-08 14:20:30 +02:00
|
|
|
|
2020-06-23 12:11:54 +02:00
|
|
|
rm ./discover_my_public_ip.sh
|
|
|
|
else
|
|
|
|
echo "Error: You need to specify a version as first argument"
|
2020-06-29 16:37:26 +02:00
|
|
|
fi
|