Code Monkey home page Code Monkey logo

letskube's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

letskube's Issues

docker build fails with access denied or repository not exist ?

Hello

I tried to create a docker build but it fails with below

[+] Building 3.2s (6/6) FINISHED
 => [internal] load build definition from Dockerfile                                                                                              0.0s
 => => transferring dockerfile: 398B                                                                                                              0.0s
 => [internal] load .dockerignore                                                                                                                 0.1s
 => => transferring context: 2B                                                                                                                   0.0s
 => ERROR [internal] load metadata for docker.io/microsoft/aspnetcore:latest                                                                      3.0s
 => CANCELED [internal] load metadata for docker.io/microsoft/aspnetcore-build:latest                                                             3.0s
 => [auth] microsoft/aspnetcore:pull token for registry-1.docker.io                                                                               0.0s
 => [auth] microsoft/aspnetcore-build:pull token for registry-1.docker.io                                                                         0.0s
------
 > [internal] load metadata for docker.io/microsoft/aspnetcore:latest:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

Anyway to solve this issue

docker build returns ERROR [build-env 6/6] RUN dotnet publish MSB4186:

Hello.
The command "docker build . -t letskube:local" terminates with:

=> ERROR [build-env 6/6] RUN dotnet publish -c Release -o output 11.4s

[build-env 6/6] RUN dotnet publish -c Release -o output:
#13 2.994 Microsoft (R) Build Engine version 15.7.179.6572 for .NET Core
#13 2.994 Copyright (C) Microsoft Corporation. All rights reserved.
#13 2.994
#13 8.153 Restore completed in 296.43 ms for /app/LetsKube.csproj.
#13 11.03 /usr/share/dotnet/sdk/2.1.202/Sdks/Microsoft.NET.Sdk/build/Microsoft.PackageDependencyResolution.targets(557,9): error MSB4186: Invalid static method invocation syntax: "[System.IO.Directory]::GetParent().get_Name()". System.IO.Directory.GetParent Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(a, b)). [/app/LetsKube.csproj]


executor failed running [/bin/sh -c dotnet publish -c Release -o output]: exit code: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.