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

[Bug]: Dev Container gets stuck on ghcr.io/devcontainers-contrib/features/firebase-cli:2 install step #644

Open
rommik opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rommik
Copy link

rommik commented Oct 31, 2024

Feature id and version

ghcr.io/devcontainers-contrib/features/firebase-cli:2

Devcontainer base Image

mcr.microsoft.com/devcontainers/python:3.11

What happened?

This issue started a few days and I'm not able to reproduce it on another PC (mac or Windows). The rebuild or open in container gets stuck on firebase-cli install step and never progresses forward.

The troubleshooting steps that I took:

  1. Froze the version of the Feature
  2. Downgraded to a previous version
  3. Re-installed Docker Desktop
  4. Re-installed WSL

Commenting out the firebase-cli:2 helps the container to boot up s as usual.
devcontainer.json

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
	"name": "Python 3",
	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
	"image": "mcr.microsoft.com/devcontainers/python:3.11",
	"features": {
		"ghcr.io/devcontainers-contrib/features/poetry:2": {},
		"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
		"ghcr.io/devcontainers/features/node:1": {},
		"ghcr.io/devcontainers-contrib/features/firebase-cli:2": {},
        "ghcr.io/devcontainers/features/java:1": {},
		"ghcr.io/joshuanianji/devcontainer-features/gcloud-cli-persistence:1": {},
		"ghcr.io/dhoeric/features/google-cloud-cli:1": {}
	},
	// "mounts": [
	// 	"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached"
	// ],
	"customizations": {
		"vscode": {
			"extensions": [
				"ms-python.python",
				"humao.rest-client",
				"alexkrechik.cucumberautocomplete",
				"mikoz.black-py",
				"ms-python.flake8"
			]
		}
	},
	"postCreateCommand": "make init",
	// Add this new section to forward the required ports
	"forwardPorts": [9099, 8080, 9150]
	// Features to add to the dev container. More info: https://containers.dev/features.
	// "features": {},

	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	// "forwardPorts": [],

	// Use 'postCreateCommand' to run commands after the container is created.
	// "postCreateCommand": "pip3 install --user -r requirements.txt",

	// Configure tool-specific properties.
	// "customizations": {},

	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
	// "remoteUser": "root"
}

Relevant log output

===========================================================================
Feature : Firebase CLI (via npm)
Description : The Firebase CLI (GitHub) provides a variety of tools for managing, viewing, and deploying to Firebase projects.
Id : ghcr.io/devcontainers-contrib/features/firebase-cli
Version : 2.0.15
Documentation : http://github.com/devcontainers-contrib/features/tree/main/src/firebase-cli
Options :
VERSION="latest"
===========================================================================
nanolayer
cd /tmp/tmp2a_dp7uo && chmod +x -R . && _REMOTE_USER="vscode" _REMOTE_USER_HOME="/home/vscode" PACKAGE="firebase-tools" VERSION="latest" NANOLAYER_VERBOSE="" NANOLAYER_FORCE_CLI_INSTALLATION="" NANOLAYER_PROPAGATE_CLI_LOCATION="1" NANOLAYER_CLI_LOCATION="/tmp/nanolayer-FC3UpXYYNo/nanolayer" bash -i +H ./install.sh
â �⠹⠸⠼⠴⠦⠧â �â �â �â �⠹⠸⠼⠴⠦⠧â �â �â �â �⠹⠸⠼⠴⠦⠧â �â �â �â �⠹⠸⠼⠴⠦⠧â �â �â �â �⠹⠸⠼⠴⠦⠧â �â �â �â �⠹⠸⠼⠴⠦⠧â �â �â �â �â ¹
@rommik rommik added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant