Coder Social home page Coder Social logo

Comments (6)

cpswan avatar cpswan commented on May 30, 2024 2

@subfuzion - Looking deeper into the pubspec.yaml that brought me here, the problem isn't with dependencies on pub.dev but only happens with git references.

So these are fine:

dependencies:
  args: ^1.5.0
  uuid: ^3.0.4
  convert: ^2.1.1
  crypto: ^3.0.0
  crypton: ^2.0.1
  collection: ^1.14.13
  basic_utils: ^3.0.0

But this causes the issue:

  at_persistence_secondary_server:
    git:
      url: https://github.com/atsign-foundation/at_server.git
      path: at_secondary/at_persistence_secondary_server
      ref: trunk
      version: ^1.0.1+7

So the blast radius for this being a problem is diminished, but still likely to be meaningful.

from dart-docker.

subfuzion avatar subfuzion commented on May 30, 2024 1

Adding git to the base image definitely makes sense for handling git dependencies; adding it is certainly a better experience than asking the community to create their own images to address this use case.

from dart-docker.

athomas avatar athomas commented on May 30, 2024 1

FYI, this will get published to docker hub with the upcoming 2.13.3 release later this week.

from dart-docker.

subfuzion avatar subfuzion commented on May 30, 2024

@cpswan I'm unable to replicate this. I can enter a dart container (docker run -it --rm -v $PWD:/app -w /app --entrypoint bash dart) from a directory with a project and run dart pub get. Also, all the Dart Functions Framework examples use dart:stable as the base image and these all continue to work (and pass our CI tests).

Could you provide more detail about what's happening for you (perhaps with a link to a gist or repo)? Context and details about how the issue manifests itself are generally more helpful than suggestions how to fix (although we do also appreciate suggestions and PRs): architecture, operating system, Docker version, sample, are all very useful. Thanks!

from dart-docker.

derrick56007 avatar derrick56007 commented on May 30, 2024

experiencing the same issue when using a git dependency

from dart-docker.

Dokotela avatar Dokotela commented on May 30, 2024

I have a follow-up question to this. I have a git dependency in my dart app, but it's to a private repo. I've been trying to put credentials in my Docker file, but haven't been successful. Has anyone been able to do this?

from dart-docker.

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.