This repository was archived by the owner on Jan 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
This repository was archived by the owner on Jan 12, 2025. It is now read-only.
[Bug]: Dev Container gets stuck on ghcr.io/devcontainers-contrib/features/firebase-cli:2 install step #644
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
- Froze the version of the Feature
- Downgraded to a previous version
- Re-installed Docker Desktop
- 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
â �⠹⠸⠼⠴⠦⠧â �â �â �â �⠹⠸⠼⠴⠦⠧â �â �â �â �⠹⠸⠼⠴⠦⠧â �â �â �â �⠹⠸⠼⠴⠦⠧â �â �â �â �⠹⠸⠼⠴⠦⠧â �â �â �â �⠹⠸⠼⠴⠦⠧â �â �â �â �â ¹Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working