Browse Source

update docker version refs

pull/184/head v1.16.0
Kyle Spearrin 8 years ago
parent
commit
13ad536d9c
  1. 4
      scripts/bitwarden.ps1
  2. 4
      scripts/bitwarden.sh
  3. 2
      scripts/run.ps1
  4. 2
      scripts/run.sh

4
scripts/bitwarden.ps1

@ -42,8 +42,8 @@ if($output -eq "") {
$scriptsDir = "${output}\scripts" $scriptsDir = "${output}\scripts"
$githubBaseUrl = "https://raw.githubusercontent.com/bitwarden/core/master" $githubBaseUrl = "https://raw.githubusercontent.com/bitwarden/core/master"
$coreVersion = "1.15.1" $coreVersion = "1.16.0"
$webVersion = "1.21.0" $webVersion = "1.22.0"
# Functions # Functions

4
scripts/bitwarden.sh

@ -37,8 +37,8 @@ fi
SCRIPTS_DIR="$OUTPUT/scripts" SCRIPTS_DIR="$OUTPUT/scripts"
GITHUB_BASE_URL="https://raw.githubusercontent.com/bitwarden/core/master" GITHUB_BASE_URL="https://raw.githubusercontent.com/bitwarden/core/master"
COREVERSION="1.15.1" COREVERSION="1.16.0"
WEBVERSION="1.21.0" WEBVERSION="1.22.0"
# Functions # Functions

2
scripts/run.ps1

@ -42,7 +42,7 @@ function Update-Lets-Encrypt {
function Update-Database { function Update-Database {
Pull-Setup Pull-Setup
docker run -it --rm --name setup --network container:mssql -v ${outputDir}:/bitwarden bitwarden/setup:$coreVersion ` docker run -it --rm --name setup --network container:bitwarden-mssql -v ${outputDir}:/bitwarden bitwarden/setup:$coreVersion `
dotnet Setup.dll -update 1 -db 1 -os win -corev $coreVersion -webv $webVersion dotnet Setup.dll -update 1 -db 1 -os win -corev $coreVersion -webv $webVersion
echo "Database update complete" echo "Database update complete"
} }

2
scripts/run.sh

@ -60,7 +60,7 @@ function updateLetsEncrypt() {
function updateDatabase() { function updateDatabase() {
pullSetup pullSetup
docker run -it --rm --name setup --network container:mssql -v $OUTPUT_DIR:/bitwarden bitwarden/setup:$COREVERSION \ docker run -it --rm --name setup --network container:bitwarden-mssql -v $OUTPUT_DIR:/bitwarden 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
echo "Database update complete" echo "Database update complete"
} }

Loading…
Cancel
Save