-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I have been trying to build digit on windows, with docker and docker toolbox, but I'm facing lot of problems.
The first one is that docker is unable to mount volumes correctly due to the fact that ${PWD} returns a windows style path, including C:/ which doesn't play well with docker volume syntax.
One possible solution is to define a variable using shell pwd, but I am not sure this will work on linux/mac too:
ROOTDIR=$(shell pwd)
And then use it instead of ${PWD}:
@docker run --rm=true \
-v $(ROOTDIR):/go/src/$(SCM_SERVICE)/$(SCM_TEAM)/$(PROJECT)/ \
...
bonus question: anyone managed to build digit on windows?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels