Git Product home page Git Product logo

Comments (6)

viceice avatar viceice commented on August 19, 2024 1

trying to do it today

from docker-buildpack.

viceice avatar viceice commented on August 19, 2024

@fgreinacher Do you think we only need latest dotnet cli, or should we add all lts / latest to a single image, or should we build multiple images like node / python / ... ?

from docker-buildpack.

rarkins avatar rarkins commented on August 19, 2024

I thought we decided to install it dynamically as it only took 8 seconds? Just needs some libraries pre-installed

from docker-buildpack.

fgreinacher avatar fgreinacher commented on August 19, 2024

@fgreinacher Do you think we only need latest dotnet cli, or should we add all lts / latest to a single image, or should we build multiple images like node / python / ... ?

Hm, not sure. GitHub Actions installs all available non-preview SDKs (see https://github.com/actions/virtual-environments/blob/5fceca9626917b69cd9951fa974ebfd3990f829f/images/macos/provision/core/dotnet.sh#L22). That's obviously the safest choice but would increase the image size substantially... So we might start with latest LTS and non-LTS versions and see if that works for most people.

from docker-buildpack.

viceice avatar viceice commented on August 19, 2024

ok, found the install script: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script

So preparing a simple image, which installs the prerequirements and the install script, so we only build a latest dotnet image and install the required tools version on the fly.

from docker-buildpack.

viceice avatar viceice commented on August 19, 2024

This can be helpful too 🙃

https://github.com/dotnet/dotnet-docker/blob/bc2436b836e35f87f854f5c6bea0ab3821505353/src/sdk/3.1/bionic/amd64/Dockerfile#L1

from docker-buildpack.

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.