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

Error in building development container #1435

Open
jiseongg opened this issue Feb 18, 2024 · 0 comments
Open

Error in building development container #1435

jiseongg opened this issue Feb 18, 2024 · 0 comments

Comments

@jiseongg
Copy link

The output of thefuck --version (something like The Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release):

N/A

Your system (Debian 7, ArchLinux, Windows, etc.):

Dev Container (Host:MacOS Sonoma 14.2.1)

How to reproduce the bug:

N/A

The output of The Fuck with THEFUCK_DEBUG=true exported (typically execute export THEFUCK_DEBUG=true in your shell before The Fuck):

N/A

If the bug only appears with a specific application, the output of that application and its version:

N/A

Anything else you think is relevant:

N/A

Hi,

The issue is related to the devcontainer settings. I read CONTRIBUTING.md and decided to setup my development environment with devcontainer I'm familiar with. It seems that the "settings", and "extensions" fields in devcontainer.json are not allowed. Rather, VS Code recommends that we use "customizations/vscode/[settings,extensions]".

image

Also, the "postCreateCommand" fails to run due to the permission issue. After I add sudo in front of the python3 setup.py develop, it runs normally.

The complete devcontainer.json I modified to properly setup the container has following structure.

"customizations": {
  "vscode": {
    "settings": {
    },
    "extensions": [
    ]
  }
},

"postCreateCommand": "pip3 install -r requirements.txt && sudo python3 setup.py develop"

I'm not sure this phenomenon occurs only in my environment. Could you check the devcontainer settings and consider the update?

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

No branches or pull requests

1 participant