Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Fix Makefile run target #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dasmur
Copy link
Contributor

@dasmur dasmur commented Jun 18, 2020

The current run target does not properly spawn a subshell which results
in an "invalid mount config" when docker run tries to
inteprates the --volume parameter. Hence, this commit prevents make from
trying to expand the string to a variable in the first place.
(fixes: #67)

It also declares both targets as .PHONY to prevents issues in the case of the creation of files with the same names.

The current run target does not properly spawn a subshell which results
in an "invalid mount config" when `docker run` tries to
inteprates the `--volume` parameter. Hence, this commit prevents `make` from
trying to expand the string to a variable in the first place.
(fixes: corona-zahlen-landkreis#67)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make run leads to 'invalid mount config for type "bind"' error
1 participant