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

Support for Dockerfile.some-env #192

Closed
maxime1992 opened this issue Dec 18, 2017 · 3 comments
Closed

Support for Dockerfile.some-env #192

maxime1992 opened this issue Dec 18, 2017 · 3 comments

Comments

@maxime1992
Copy link

maxime1992 commented Dec 18, 2017

Since Docker 1.8 we can do something like that in order to have multiple Dockerfile in the same folder:

docker build -f Dockerfile.db .
docker build -f Dockerfile.web .

See https://stackoverflow.com/a/32108873/2398593

With VSC, we loose intellisense within a file Dockerfile.something file.

@kamcma
Copy link

kamcma commented Dec 22, 2017

If you add the following to your VSCode settings, you should get it back:

"files.associations": {
    "[Dd]ockerfile*": "dockerfile",
    "docker-compose*": "yaml"
}

For the Dockerfile entry, I'm getting IntelliSense and file icons. The docker-compose entry is giving me IntelliSense but no file icons.

@abbas001
Copy link

Thanks its working.

@bwateratmsft
Copy link
Collaborator

I think this scenario is entirely covered by #102, so I'll resolve this as duplicate.

@bwateratmsft bwateratmsft removed this from the 1.1.0 milestone Apr 4, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators May 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants