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

codespaces - remove docker-in-docker since it's installed via universal image #5267

Merged
merged 3 commits into from
Aug 21, 2023

Conversation

mandrasch
Copy link
Collaborator

@mandrasch mandrasch commented Aug 17, 2023

The Issue

How This PR Solves The Issue

  • updating the docs, removing docker-in-docker from code snippet

Manual Testing Instructions

Automated Testing Overview

  • no automated test option for codespaces available

Related Issue Link(s)

Release/Deployment Notes

no

@mandrasch mandrasch requested a review from a team as a code owner August 17, 2023 05:37
@mandrasch mandrasch changed the title docs: remove docker-in-docker since it's installed via universal image already docs: codespaces - remove docker-in-docker since it's installed via universal image Aug 17, 2023
Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

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

Would you mind adding these changes to the DDEV devcontainer.json as well?

@mandrasch
Copy link
Collaborator Author

Would you mind adding these changes to the DDEV devcontainer.json as well?

Sure thing, very happy to try it! :-)

I'll try with the universal image (and without docker-in-docker as extra feature) in the next days:

        "image": "mcr.microsoft.com/devcontainers/universal:2",
 	"features": { 
 		"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": { 
 			"packages": "autojump,curl,wget,xdg-utils" 
 		}, 
 		"ghcr.io/eitsupi/devcontainer-features/jq-likes:1": {}, 
 		"ghcr.io/edouard-lopez/devcontainer-features/bats:0": {} 
 	}, 

@mandrasch mandrasch requested a review from a team as a code owner August 18, 2023 20:09
@mandrasch
Copy link
Collaborator Author

mandrasch commented Aug 18, 2023

Updated the devcontainer.json accordingly.

Creating a new codespace instance with it ran through successfully, I could also open the example project in /workspaces/d9simple/. ✅

Open in GitHub Codespaces

One slight hiccup occured when the codespace instance was automatically paused, after the restart docker was not up and running. After turning it off and on again everything worked again. Most probably not a DDEV-related issue, just a codespace one.

Tried another manual restart as well, all worked fine.

@mandrasch mandrasch changed the title docs: codespaces - remove docker-in-docker since it's installed via universal image codespaces - remove docker-in-docker since it's installed via universal image Aug 18, 2023
Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -3,9 +3,8 @@
{
"name": "Go",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:0-1-bullseye",
"image": "mcr.microsoft.com/devcontainers/universal:2",
Copy link
Member

Choose a reason for hiding this comment

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

Universal also contains golang and make, all we need.

@rfay rfay merged commit 4e85975 into ddev:master Aug 21, 2023
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants