Giter Site home page Giter Site logo

go-devcontainer's Introduction

go-devcontainer

The base devcontainer for Daytona Go projects

Basically this pulls out the devcontainer from daytonaio/daytona into its own repo and sets up a devcontainer prebuild GitHub action. This has a couple advantages.

  1. Its prebuilt and a from scratch env goes from launching in ~5m to >1m (depending on network)
  2. Its can be re-used across Daytona and all the plugins. So the resources usage for folks that develop plugins will drop since its shared.
  3. Centralized also means common versions and only one place to update. Bumping go version for example.

You can use it with:

	"image": "ghcr.io/daytonaio/go-devcontainer:main"

Which will track the main branch of the repo. In the case that we want more stable environments. You can push a tag to the repo and it will automatically built a release version that can be used with (given the tag v0.0.1 as an example).

	"image": "ghcr.io/daytonaio/go-devcontainer:0.0.1"
    # or
    "image": "ghcr.io/daytonaio/go-devcontainer:0.0"
    # or 
    "image": "ghcr.io/daytonaio/go-devcontainer:0"

When you use major or major.minor as an image tag, these will be updated on subsequent tags. It will follow semver'ish versioning.

  • The safest is to pin to a specific major.minor.patch.
  • If you're ok with bugfixes you can pin to major.minor.
  • If don't mind changes so long as the the devcontainer interface (features, user, etc) doesn't change you can pin to major.

go-devcontainer's People

Contributors

metcalfc avatar tpuljak avatar

Stargazers

 avatar

Watchers

Nikola Balic avatar Goran Draganić avatar Ivan Burazin avatar Vedran Jukic avatar  avatar

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.