This repository was archived by the owner on Jun 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
This repository was archived by the owner on Jun 14, 2019. It is now read-only.
sitecore-xp-sqldev:9.1.1-windowsservercore-ltsc2019 build fails looking for c:\tools #45
Copy link
Copy link
Open
Description
Attempting to build a workable 9.1.1 solution, but it's failing at some point attempting to look for files.
### Processing 'sitecore-xp-sqldev:9.1.1-windowsservercore-ltsc2019'...
Sending build context to Docker daemon 307MB
Step 1/5 : FROM microsoft/mssql-server-windows-developer:2016-sp1
---> 2549bb553d7d
Step 2/5 : ENV ACCEPT_EULA='Y' sa_password='HASH-epsom-sunset-cost7!' DB_PREFIX='sc' INSTALL_PATH='c:/install/' DATA_PATH='c:/data/' SQL_HOSTNAME='sql'
---> Using cache
---> a4c05758a004
Step 3/5 : COPY . ${INSTALL_PATH}
---> Using cache
---> c288af1eeeff
Step 4/5 : RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; & (Join-Path $env:INSTALL_PATH "\\Install-Shards.ps1") -InstallPath $env:INSTALL_PATH -DatabasePrefix $env:DB_PREFIX; Copy-Item -Path (Join-Path $env:INSTALL_PATH "\\Boot.ps1") -Destination 'C:\\'; Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Force;
---> Running in 3bf836ad1549
Get-Item : Cannot find path 'C:\tools' because it does not exist.
At C:\install\Install-Databases.ps1:21 char:22
+ ... ckageExePath = Get-Item "C:\tools\*\lib\net46\SqlPackage.exe" | Selec ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\tools:String) [Get-Item], It
emNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetIt
emCommand
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; & (Join-Path $env:INSTALL_PATH "\\Install-Shards.ps1") -InstallPath $env:INSTALL_PATH -DatabasePrefix $env:DB_PREFIX; Copy-Item -Path (Join-Path $env:INSTALL_PATH "\\Boot.ps1") -Destination 'C:\\'; Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Force;' returned a non-zero code: 1
Failed.
At C:\Docker\sitecore-images\modules\SitecoreImageBuilder\SitecoreImageBuilder.psm1:158 char:70
+ ... CODE -ne 0 | Where-Object { $_ } | ForEach-Object { throw "Failed." }
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Failed.:String) [], RuntimeException
+ FullyQualifiedErrorId : Failed.
Metadata
Metadata
Assignees
Labels
No labels