devcontainers / devcontainers/cli

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

Abierto
#329 2 comentarios 2 reacciones 1 asignado Reclamado por @chrmarti Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
3k
Forks
457
Merge medio
13 h 17 min
PR fusionados (30 d)
6

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.