I trying to pass the current user id into docker-compose.yml
How it looks in docker-compose.yml
version: '3.4'
services:
    app:
        build:
            context: ./
            target: "php-${APP_ENV}"
        user: "${CURRENT_UID}"
Instead of CURRENT_UID=$(id -u):$(id -g) docker-compose up -d I've wrote makefile
#!/usr/bin/make
SHELL = /bin/sh
up: 
    export CURRENT_UID=$(id -u):$(id -g)
    docker-compose up -d
But CURRENT_UID still empty when I run make up
Is there a possible export uid in makefile?
 
     
    