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:
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?
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, includingC:/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:And then use it instead of
${PWD}:bonus question: anyone managed to build digit on windows?