okteto / aspnetcore-getting-started

Develop ASP.NET Apps in Kubernetes with Okteto
https://www.okteto.com
Apache License 2.0
11 stars 4 forks source link

Okteto push error. #8

Closed Youngestdev closed 3 years ago

Youngestdev commented 3 years ago

So when I run okteto push, I get this error below - do you mind taking a look at it, @pchico83?

=> ERROR [dev 4/9] RUN curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l                                                                                                3.1s 
------                                                                                                                                                                                            
 > [dev 4/9] RUN curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l:                                                                                                           
#10 2.961 No arg for -l option                                                                                                                                                                    
#10 2.962 ERROR: Invalid Option: -                                                                                                                                                                
#10 2.962 GetVsDbg.sh [-usho] -v V [-l L] [-r R] [-d M] [-e E]                                                                                                                                    
#10 2.962                                                                                                                                                                                         
#10 2.962 This script downloads and configures vsdbg, the Cross Platform .NET Debugger
#10 2.962 -u    Deletes the existing installation directory of the debugger before installing the current version.
#10 2.962 -s    Skips any steps which requires downloading from the internet.
#10 2.962 -d M  Launches debugger after the script completion. Where M is the mode, "mi" or "vscode"
#10 2.962 -h    Prints usage information.
#10 2.962 -v V  Version V can be "latest" or a version number such as 15.0.25930.0
#10 2.962 -l L  Location L where the debugger should be installed. Can be absolute or relative
#10 2.962 -r R  Debugger for the RuntimeID will be installed
#10 2.962 -a A  Specify a different alternate location that the debugger might already be installed.
#10 2.962 -o    Enables "Offline Mode" This enables structured output to use if the current machine does not have access to internet.
#10 2.962 -e E  E is the full path to the compressed package obtained from outside of the script.
#10 2.962 
#10 2.962 For more information about using this script with Visual Studio Code see:
#10 2.962 https://github.com/OmniSharp/omnisharp-vscode/wiki/Attaching-to-remote-processes
#10 2.962 
#10 2.962 For more information about using this script with Visual Studio see:
#10 2.962 https://github.com/Microsoft/MIEngine/wiki/Offroad-Debugging-of-.NET-Core-on-Linux---OSX-from-Visual-Studio
#10 2.962 
#10 2.962 To report issues, see:
#10 2.962 https://github.com/omnisharp/omnisharp-vscode/issues
------
 x  error building image 'registry.cloud.okteto.net/youngestdev/hello-world:okteto': build failed: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l]: exit code: 1
rberrelleza commented 3 years ago

Fixed!