Skip to content

Commit

Permalink
Fix env variables in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
nachovizzo committed Mar 30, 2021
1 parent 9c004d7 commit c4286b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.PHONY: container check-env check-config
.DEFAULT_GOAL:= container

USER_ID:=$(shell id -u)
GROUP_ID:=$(shell id -u)
export USER_ID:=$(shell id -u)
export GROUP_ID:=$(shell id -g)

container: check-env check-config
@echo Building apps container with user_id=${USER_ID} group_id=${GROUP_ID}...
Expand All @@ -27,4 +27,5 @@ ifndef DATASETS
else
@echo Mounting\(read-only \) ${DATASETS} to /data.
@echo Mounting\(read-write\) $(shell realpath apps/) to /apps/
@echo uid=${USER_ID}, gid=${GROUP_ID}.
endif

0 comments on commit c4286b3

Please sign in to comment.