devcontainers / devcontainers/cli

Error ENOENT occurs with compose file containing `dockerfile_inline` field.

Đang mở
#765 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
feature-request
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

This demo has no reference of docker file but still the cli asks for the `Dockerfile` at default path.
https://gist.github.com/ryuujo1573/95d5c5a3069d0493594e606a8140f8ae

I've quickly scanned the lines and the cause may be this part asking for the non existing file.
https://github.com/devcontainers/cli/blob/09e9821598a056e8d11dfd41e05ccbf370d57562/src/spec-node/dockerCompose.ts#L161-L165

The error disappears when using image directly rather than building from `dockerfile_inline`.

i.e. Is this a bug? or is there something that I messed up?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.