dev-container build options (for features) cannot be used when using an image but with a Dockerfile #9669
Labels
containers
Issue in vscode-remote containers
feature-request
Request for new features or functionality
Milestone
I have a base image and want to add a feature to it. But I need the
--add-host
option from thebuild
specification.When using a Dockerfile, this works:
whereas the
Dockerfile
just containsFROM myImage
.Now instead of a Dockerfile, I thought I could just use the
image: myImage
property in the devcontainer.json file and get rid of the Dockerfile but when using that, thebuild
property and therefore theoptions
are not valid and are not used when building the image with an additional feature.The text was updated successfully, but these errors were encountered: