My docker-compose.yml looks like this
services:
my-service:
image: ${PYTHON_IMAGE}:${PY_VERSION}
these ENV variables are declared in WSL, however when I use VS code remote container to launch the development in the container, it will fail, I tried using WSLENV to assign the variables and tested within a session between WSL and Windows, the variables are properly shared but still couldnt get the variables assigned when the container is created/build by VSCode
Appreciate your response Thanks