devcontainers / devcontainers/cli

`devcontainer` fails to work with dockerimage's that use lowercase instructions

オープン
#329 コメント 2 件 リアクション 2 件 担当者 1 名 @chrmarti が担当を希望しています GitHub で見る
bug
主要言語
TypeScript
スター
3k
フォーク
457
平均マージ
13時間 17分
マージ済み PR(30日)
6

説明

### Description
`devcontainer` cli fails to work with Dockerimages which uses lowercase instructions
Both, windows and linux environments are affected.

### Prerequirements
`devcontainer` cli version `0.26.1`

### Steps to reproduce
1. Create a folder
2. Create `.devcontainer/` folder
3. Add to `.devcontainer/` the `devcontainer.json` with the following content
```json
{
"dockerFile": "Dockerfile"
}
```
5. Add to `.devcontainer/` the `Dockerfile` with the following content
```Dockerfile
from alpine:latest
````
7. Run `devcontainer up --workfolder .`

### Expected result
No errors are generated

### Actual result
An error is generated
![image](https://user-images.githubusercontent.com/24370515/208528015-5e1eaf68-3825-43ba-ae98-aa3ee4c5210e.png)

### Additional details
Here is a repo that demonstrates the bug
https://github.com/BusHero/devcontainer-bug-docker-lowercase-commands

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。