You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran following command on sample-dotnet folder pack build dotnet-app-1 --builder gcr.io/buildpacks/builder:v1
But the build fails with
===> ANALYZING
Timer: Analyzer started at 2023-12-21T11:16:11Z
Image with name "dotnet-app-1" not found
Timer: Analyzer ran for 1.572875ms and ended at 2023-12-21T11:16:11Z
===> DETECTING
Timer: Detector started at 2023-12-21T11:16:11Z
4 of 6 buildpacks participating
google.dotnet.sdk 0.9.1
google.dotnet.publish 0.9.0
google.dotnet.runtime 0.9.1
google.utils.label-image 0.0.2
Timer: Detector ran for 364.296292ms and ended at 2023-12-21T11:16:11Z
===> RESTORING
Timer: Restorer started at 2023-12-21T11:16:11Z
Timer: Restorer ran for 1.815208ms and ended at 2023-12-21T11:16:11Z
===> BUILDING
Timer: Builder started at 2023-12-21T11:16:11Z
=== .NET - Sdk ([email protected]) ===
Looking for global.json in /workspace
Using latest stable .NET Core SDK version
2023/12/21 11:16:11 [DEBUG] GET https://dl.google.com/runtimes/ubuntu1804/dotnetsdk/version.json
***** CACHE MISS: "dotnetsdk"
Installing .NET SDK v8.0.100.
2023/12/21 11:16:12 [DEBUG] GET https://dl.google.com/runtimes/ubuntu1804/dotnetsdk/dotnetsdk-8.0.100.tar.gz
=== .NET - Publish ([email protected]) ===
Installing application dependencies.
***** CACHE MISS: "packages"
***** CACHE MISS: "prod dependencies"
--------------------------------------------------------------------------------
Running "dotnet restore --packages /layers/google.dotnet.publish/packages ./helloworld.csproj (DOTNET_CLI_TELEMETRY_OPTOUT=true)"
Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.100
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Done "dotnet restore --packages /layers/google.dotnet.publish/pack..." (6.59926817s)
--------------------------------------------------------------------------------
failed to build: (error ID: ce40b84e):
Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.100
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Sorry your project couldn't be built.
Our documentation explains ways to configure Buildpacks to better recognise your project:
-> https://cloud.google.com/docs/buildpacks/overview
If you think you've found an issue, please report it:
-> https://github.com/GoogleCloudPlatform/buildpacks/issues/new
--------------------------------------------------------------------------------
Timer: Builder ran for 42.311480812s and ended at 2023-12-21T11:16:54Z
ERROR: failed to build: exit status 1
ERROR: failed to build: executing lifecycle: failed with status code: 51
The text was updated successfully, but these errors were encountered:
I ran following command on
sample-dotnet
folderpack build dotnet-app-1 --builder gcr.io/buildpacks/builder:v1
But the build fails with
The text was updated successfully, but these errors were encountered: