Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build error using base image v2022 #435

Open
talebia opened this issue Nov 29, 2021 · 2 comments
Open

docker build error using base image v2022 #435

talebia opened this issue Nov 29, 2021 · 2 comments

Comments

@talebia
Copy link

talebia commented Nov 29, 2021

We need to switch over to long term support windows base images in order to avoid Amazon stopping our ECS based rhino compute instances. but there's issue when installing rhino:

Step 1/26 : FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 as builder
4.8-windowsservercore-ltsc2022: Pulling from dotnet/framework/sdk
8f616e6e9eec: Already exists
<removed lines>
Digest: sha256:<hidden>
Status: Downloaded newer image for mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022
 ---> 1492afb8771a
Step 2/26 : COPY src/ ./src/
 ---> 3635ca2935fc
Step 3/26 : RUN msbuild /p:Configuration=Release /restore /v:Minimal src/compute.sln
 ---> Running in 432f70f22b69
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored C:\src\compute.geometry\compute.geometry.csproj (in 26.35 sec).
  Restored C:\src\rhino.compute\rhino.compute.csproj (in 27.33 sec).
  compute.geometry -> C:\src\bin\Release\compute.geometry.exe
  rhino.compute -> C:\src\bin\Release\rhino.compute\rhino.compute.dll
Removing intermediate container 432f70f22b69
 ---> 11a5dfae5252
Step 4/26 : FROM mcr.microsoft.com/windows/servercore:ltsc2022
 ---> 3d4792f88e26
Step 5/26 : RUN curl -fSLo rhino_installer.exe https://files.mcneel.com/dujour/exe/20210319/rhino_en-us_7.4.21078.01001.exe     && .\rhino_installer.exe -package -quiet INSTALLDIR=c:\rhino7     && del .\rhino_installer.exe
 ---> Running in 50ace908242c
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0  280M    0  1668    0     0    834      0 98:00:59  0:00:02 98:00:57   746
  0  280M    0 50820    0     0  25410      0  3:13:01  0:00:02  3:12:59 19360
  0  280M    0 1767k    0     0   589k      0  0:08:07  0:00:03  0:08:04  487k
  4  280M    4 13.3M    0     0  3406k      0  0:01:24  0:00:04  0:01:20 2996k
 10  280M   10 29.3M    0     0  6017k      0  0:00:47  0:00:05  0:00:42 6075k
 15  280M   15 44.4M    0     0  7590k      0  0:00:37  0:00:06  0:00:31 10.1M
 20  280M   20 58.2M    0     0  8524k      0  0:00:33  0:00:07  0:00:26 11.7M
 26  280M   26 74.9M    0     0  9599k      0  0:00:29  0:00:08  0:00:21 14.7M
 32  280M   32 92.5M    0     0  10.2M      0  0:00:27  0:00:09  0:00:18 15.6M
 39  280M   39  110M    0     0  11.0M      0  0:00:25  0:00:10  0:00:15 16.3M
 46  280M   46  129M    0     0  11.7M      0  0:00:23  0:00:11  0:00:12 17.1M
 52  280M   52  148M    0     0  12.3M      0  0:00:22  0:00:12  0:00:10 18.1M
 59  280M   59  167M    0     0  12.9M      0  0:00:21  0:00:13  0:00:08 18.7M
 66  280M   66  187M    0     0  13.3M      0  0:00:20  0:00:14  0:00:06 19.0M
 73  280M   73  206M    0     0  13.7M      0  0:00:20  0:00:15  0:00:05 19.3M
 80  280M   80  226M    0     0  14.1M      0  0:00:19  0:00:16  0:00:03 19.4M
 87  280M   87  246M    0     0  14.4M      0  0:00:19  0:00:17  0:00:02 19.6M
 94  280M   94  266M    0     0  14.7M      0  0:00:18  0:00:18 --:--:-- 19.7M
100  280M  100  280M    0     0  14.7M      0  0:00:19  0:00:19 --:--:-- 19.4M
The command 'cmd /S /C curl -fSLo rhino_installer.exe https://files.mcneel.com/dujour/exe/20210319/rhino_en-us_7.4.21078.01001.exe     && .\rhino_installer.exe -package -quiet INSTALLDIR=c:\rhino7     && del .\rhino_installer.exe' returned a non-zero code: 2147942526

Error: Process completed with exit code 1.

Am I missing something?

@talebia
Copy link
Author

talebia commented Dec 1, 2021

I have some extra info that might help with this. I see below lines in the installer log:

[1504:054C][2021-12-01T02:33:52]i000: Setting string variable 'WixBundleName' to value 'Rhino 7'
[1504:054C][2021-12-01T02:33:52]i000: Setting string variable 'WixBundleManufacturer' to value 'Robert McNeel & Associates'
[1504:054C][2021-12-01T02:33:52]e000: Error 0x8007007e: Failed to load BundleUI.dll. Ensure your BundleUI.dll is included in the root of your BootstrapperApplication payloads.

note that we currently use the semi-annual server core 2004 images with no issues at all but have to update due to reason mentioned in previous post.

Could someone help?

@pearswj
Copy link
Member

pearswj commented Dec 1, 2021

Hey @talebia, I never had any luck with anything other than the mcr.microsoft.com/windows base images. Which Server Core image have you been using successfully?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants