Giter Site home page Giter Site logo

Comments (6)

CDR-DavidR avatar CDR-DavidR commented on June 15, 2024

Hi @BenNyanKyaw,

Thanks for reaching out, can you give it a try with the --no-cache flag please?
e.g. docker build --no-cache -t mock-register-updated .

I am able to build the container on an M1 Pro MacBook Pro running Docker version 20.10.14, build a224086
Let us know how you go.

from mock-register.

BenNyanKyaw avatar BenNyanKyaw commented on June 15, 2024

Hi @CDR-DavidR,
Thanks for your quick response, I tried again with --no-cache but no lucks.
I am on macOS Catalina, Docker 20.10.11

image

from mock-register.

CDR-DF avatar CDR-DF commented on June 15, 2024

I have also been able to successfully build the Mock Register container image on my Macbook Pro:

  • MacOS Monterey v12.2.1
  • Docker v20.10.5

From the log output included above, it looks like there is an issue when accessing https://api.nuget.org/v3/index.json?

from mock-register.

BenNyanKyaw avatar BenNyanKyaw commented on June 15, 2024

@CDR-DF , looks like something to do with work computer with VPN/proxy. I can build with no issue on my personal mac.

From work mac:
I can hit https://api.nuget.org/v3/index.json from both browser and curl inside container.
Do you aware of any setting for ppl using VPN/proxy?

from mock-register.

CDR-DavidR avatar CDR-DavidR commented on June 15, 2024

That's good news that it is working outside of your work environment at least.
You could try the proxy settings within Docker, as outlined here - https://docs.docker.com/network/proxy/

Hopefully that gets it working for you.

from mock-register.

BenNyanKyaw avatar BenNyanKyaw commented on June 15, 2024

Thanks everyone. For other people who faces similar issue, I resolved it by replacing the Nuget config in the container with the following config with additional proxy setting.

image

from mock-register.

Related Issues (20)

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.