mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
LOCAL_UID e before container name ... derp
This commit is contained in:
parent
557ef1b339
commit
5b7e7bc9b8
@ -79,7 +79,7 @@ function updateDatabase() {
|
|||||||
if [ $OS == "lin" ]
|
if [ $OS == "lin" ]
|
||||||
then
|
then
|
||||||
docker run -i --rm --name setup --network container:bitwarden-mssql \
|
docker run -i --rm --name setup --network container:bitwarden-mssql \
|
||||||
-v $OUTPUT_DIR:/bitwarden bitwarden/setup:$COREVERSION \
|
-v $OUTPUT_DIR:/bitwarden -e LOCAL_UID=`id -u $USER` bitwarden/setup:$COREVERSION \
|
||||||
dotnet Setup.dll -update 1 -db 1 -os $OS -corev $COREVERSION -webv $WEBVERSION
|
dotnet Setup.dll -update 1 -db 1 -os $OS -corev $COREVERSION -webv $WEBVERSION
|
||||||
else
|
else
|
||||||
docker run -i --rm --name setup --network container:bitwarden-mssql \
|
docker run -i --rm --name setup --network container:bitwarden-mssql \
|
||||||
@ -93,8 +93,8 @@ function update() {
|
|||||||
pullSetup
|
pullSetup
|
||||||
if [ $OS == "lin" ]
|
if [ $OS == "lin" ]
|
||||||
then
|
then
|
||||||
docker run -i --rm --name setup \
|
docker run -i --rm --name setup -v $OUTPUT_DIR:/bitwarden \
|
||||||
-v $OUTPUT_DIR:/bitwarden bitwarden/setup:$COREVERSION \
|
-e LOCAL_UID=`id -u $USER` bitwarden/setup:$COREVERSION \
|
||||||
dotnet Setup.dll -update 1 -os $OS -corev $COREVERSION -webv $WEBVERSION
|
dotnet Setup.dll -update 1 -os $OS -corev $COREVERSION -webv $WEBVERSION
|
||||||
else
|
else
|
||||||
docker run -i --rm --name setup \
|
docker run -i --rm --name setup \
|
||||||
@ -107,8 +107,8 @@ function printEnvironment() {
|
|||||||
pullSetup
|
pullSetup
|
||||||
if [ $OS == "lin" ]
|
if [ $OS == "lin" ]
|
||||||
then
|
then
|
||||||
docker run -i --rm --name setup \
|
docker run -i --rm --name setup -v $OUTPUT_DIR:/bitwarden \
|
||||||
-v $OUTPUT_DIR:/bitwarden bitwarden/setup:$COREVERSION \
|
-e LOCAL_UID=`id -u $USER` bitwarden/setup:$COREVERSION \
|
||||||
dotnet Setup.dll -printenv 1 -os $OS -corev $COREVERSION -webv $WEBVERSION
|
dotnet Setup.dll -printenv 1 -os $OS -corev $COREVERSION -webv $WEBVERSION
|
||||||
else
|
else
|
||||||
docker run -i --rm --name setup \
|
docker run -i --rm --name setup \
|
||||||
|
Loading…
Reference in New Issue
Block a user