devcontainers / devcontainers/cli

Support --env-file flag for docker compose usage

Đang mở
#483 3 bình luận 7 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ả

Currently the devcontainer.json spec does not allow for me to specify an .env file for usage in the CLI:
https://docs.docker.com/compose/environment-variables/set-environment-variables/#substitute-with---env-file

This would be really useful, as I currently cannot rely on a root .env file as suggested by the docs, due to collisions with other devs/IDEs and a desire to not pollute each other's ways of working, yet would still like to make use of env var substitution features inside of common .yml files whenever I am running them through the devcontainer stack

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.