cloudstateio / cloudstate

Distributed State Management for Serverless
https://cloudstate.io
Apache License 2.0
763 stars 97 forks source link

feature/devcontainer #403

Closed marcellanz closed 3 years ago

marcellanz commented 3 years ago

Add devcontainer support.

We might provide a pre-built docker image so devcontainers get started faster.

Screenshot 2020-08-03 at 10 48 06
viktorklang commented 3 years ago

Thanks for contributing this, @marcellanz :+1:

marcellanz commented 3 years ago

The image can be built with:

> cd .devcontainer
> ./build.sh [push]

and add: "image": "cloudstateio/cloudstate-devcontainer:latest",

to devcontainer.json instead of "dockerFile": "Dockerfile",

pvlugter commented 3 years ago

👍 Good idea.

Having pre-built docker image sounds good too — can be add to the travis build, which has docker hub credentials already. I've created the repo on docker hub for this, with permissions for you and bots.

marcellanz commented 3 years ago

@pvlugter thanks. I've published cloudstateio/cloudstate-devcontainer and tested it. I Added the build and push script on "Publish latest builds" in the travis configuration. We probably might not have releases except of latest of this image?

pvlugter commented 3 years ago

I've published cloudstateio/cloudstate-devcontainer and tested it. I Added the build and push script on "Publish latest builds" in the travis configuration. We probably might not have releases except of latest of this image?

Cool. Yes, makes sense to just have latest builds for this.

ralphlaude commented 3 years ago

I test it locally with the TCK and it works fine

marcellanz commented 3 years ago

I test it locally with the TCK and it works fine

thanks for testing @ralphlaude 👍