Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DevContainer base image to fix CodeSpaces and DevContainer issues #519

Merged
merged 3 commits into from
Jan 24, 2022

Conversation

paulyuk
Copy link
Contributor

@paulyuk paulyuk commented Jan 20, 2022

Signed-off-by: Paul Yuknewicz paulyuk@microsoft.com

Description

Update DevContainer base image to fix CodeSpaces and DevContainer issues

The biggest issue is #518 causing Codespace to crash and go into recovery mode. To fix, we change the base image pin in Dockerfile from universal:1.6.9-focal to universal:1-focal so we get updated 1.x semantic version but stop short of a possibly breaking 2.x release. The 1.6.9 focal image has the issue of running CodeSpaces out of storage during the Docker build (unpack) stages just on line 1 with the base image. the later 1-focal does not have this issue.

This has the side effect of fixing #499 since Dapr can properly initialize

Also per #501 we clarify required SKU of GH to see CodeSpaces so more users are successful.

Issue reference

We strive to have all PRs being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #518, #499, #501

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • The quickstart code compiles correctly
  • You've tested new builds of the quickstart if you changed quickstart code
  • You've updated the quickstart's README if necessary
  • If you have changed the steps for a quickstart be sure that you have updated the automated validation accordingly. All of our quickstarts have annotations that allow them to be executed automatically as code. For more information see mechanical-markdown. For user guide with examples see Examples.

paulyuk and others added 3 commits January 20, 2022 01:15
Copy link
Member

@msfussell msfussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@msfussell msfussell merged commit c85ef27 into dapr:master Jan 24, 2022
dmitsh pushed a commit that referenced this pull request Jan 24, 2022
* Make sure the client is actual built (#517)

Signed-off-by: Xavier Geerinck <xavier.geerinck@gmail.com>

* Update DevContainer base image to fix CodeSpaces and DevContainer issues (#519)

* Update base image to later Universal 1.x Focal, but still pin to 1.x major version

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Updated readme to clarify pre-req SKUs for GitHub CodeSpaces support

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>

* Setting FLASK_RUN_PORT=5001 in distributed-calc

Signed-off-by: Charlie Stanley <wistanle@microsoft.com>

Co-authored-by: Xavier Geerinck <xavier.geerinck@gmail.com>
Co-authored-by: Paul Yuknewicz <paulyuk@microsoft.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Charlie Stanley <wistanle@microsoft.com>
dmitsh pushed a commit that referenced this pull request Jan 24, 2022
* Make sure the client is actual built (#517)

Signed-off-by: Xavier Geerinck <xavier.geerinck@gmail.com>

* Update DevContainer base image to fix CodeSpaces and DevContainer issues (#519)

* Update base image to later Universal 1.x Focal, but still pin to 1.x major version

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Updated readme to clarify pre-req SKUs for GitHub CodeSpaces support

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>

* Setting FLASK_RUN_PORT=5001 in distributed-calc

Signed-off-by: Charlie Stanley <wistanle@microsoft.com>

Co-authored-by: Xavier Geerinck <xavier.geerinck@gmail.com>
Co-authored-by: Paul Yuknewicz <paulyuk@microsoft.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Charlie Stanley <wistanle@microsoft.com>
dmitsh pushed a commit that referenced this pull request Jan 24, 2022
* Make sure the client is actual built (#517)

Signed-off-by: Xavier Geerinck <xavier.geerinck@gmail.com>

* Update DevContainer base image to fix CodeSpaces and DevContainer issues (#519)

* Update base image to later Universal 1.x Focal, but still pin to 1.x major version

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Updated readme to clarify pre-req SKUs for GitHub CodeSpaces support

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>

* Setting FLASK_RUN_PORT=5001 in distributed-calc

Signed-off-by: Charlie Stanley <wistanle@microsoft.com>

Co-authored-by: Xavier Geerinck <xavier.geerinck@gmail.com>
Co-authored-by: Paul Yuknewicz <paulyuk@microsoft.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Charlie Stanley <wistanle@microsoft.com>
msfussell pushed a commit that referenced this pull request Jan 25, 2022
* replace ports 5000/7000 with 5001/7001 to eliminate conflict with Control Center on MacOS (#521)

Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>

* Sync master into release-1.6 (#523)

* Make sure the client is actual built (#517)

Signed-off-by: Xavier Geerinck <xavier.geerinck@gmail.com>

* Update DevContainer base image to fix CodeSpaces and DevContainer issues (#519)

* Update base image to later Universal 1.x Focal, but still pin to 1.x major version

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Updated readme to clarify pre-req SKUs for GitHub CodeSpaces support

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>

* Setting FLASK_RUN_PORT=5001 in distributed-calc

Signed-off-by: Charlie Stanley <wistanle@microsoft.com>

Co-authored-by: Xavier Geerinck <xavier.geerinck@gmail.com>
Co-authored-by: Paul Yuknewicz <paulyuk@microsoft.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Charlie Stanley <wistanle@microsoft.com>

* update README (#524)

Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>

Co-authored-by: Charlie Stanley <charlie.stanley@microsoft.com>
Co-authored-by: Xavier Geerinck <xavier.geerinck@gmail.com>
Co-authored-by: Paul Yuknewicz <paulyuk@microsoft.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Charlie Stanley <wistanle@microsoft.com>
Arashrohani pushed a commit to Arashrohani/quickstarts that referenced this pull request Feb 16, 2022
…ues (dapr#519)

* Update base image to later Universal 1.x Focal, but still pin to 1.x major version

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Updated readme to clarify pre-req SKUs for GitHub CodeSpaces support

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Signed-off-by: Arash Rohani <arash.rohani@gmail.com>
Arashrohani pushed a commit to Arashrohani/quickstarts that referenced this pull request Feb 16, 2022
* replace ports 5000/7000 with 5001/7001 to eliminate conflict with Control Center on MacOS (dapr#521)

Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>

* Sync master into release-1.6 (dapr#523)

* Make sure the client is actual built (dapr#517)

Signed-off-by: Xavier Geerinck <xavier.geerinck@gmail.com>

* Update DevContainer base image to fix CodeSpaces and DevContainer issues (dapr#519)

* Update base image to later Universal 1.x Focal, but still pin to 1.x major version

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Updated readme to clarify pre-req SKUs for GitHub CodeSpaces support

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>

* Setting FLASK_RUN_PORT=5001 in distributed-calc

Signed-off-by: Charlie Stanley <wistanle@microsoft.com>

Co-authored-by: Xavier Geerinck <xavier.geerinck@gmail.com>
Co-authored-by: Paul Yuknewicz <paulyuk@microsoft.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Charlie Stanley <wistanle@microsoft.com>

* update README (dapr#524)

Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>

Co-authored-by: Charlie Stanley <charlie.stanley@microsoft.com>
Co-authored-by: Xavier Geerinck <xavier.geerinck@gmail.com>
Co-authored-by: Paul Yuknewicz <paulyuk@microsoft.com>
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Charlie Stanley <wistanle@microsoft.com>
Signed-off-by: Arash Rohani <arash.rohani@gmail.com>
@paulyuk paulyuk deleted the paulyuk/fixcodespaces branch March 7, 2022 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dapr QuickStarts fails to build in GitHub CodeSpaces
3 participants