forked from coala/docker-coala-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MarkdownBear: Set NODE_PATH for remark-lint
remark-cli needs to find its plugins. When invoked in `/coala-bears` directory, Node automatically looks in `node_modules`. However if the docker image is used normally the working directory will not be `/coala-bears`. Setting NODE_PATH ensures that the plugins can be found. Related to coala/coala-bears#1235
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,10 @@ MAINTAINER Fabian Neuschmidt [email protected] | |
ARG branch=master | ||
|
||
# Set the locale | ||
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en PATH=$PATH:/root/pmd-bin-5.4.1/bin:/root/dart-sdk/bin:/coala-bears/node_modules/.bin:/root/bakalint-0.4.0:/root/elm-format-0.18 | ||
ENV LANG=en_US.UTF-8 \ | ||
LANGUAGE=en_US:en \ | ||
PATH=$PATH:/root/pmd-bin-5.4.1/bin:/root/dart-sdk/bin:/coala-bears/node_modules/.bin:/root/bakalint-0.4.0:/root/elm-format-0.18 \ | ||
NODE_PATH=/coala-bears/node_modules | ||
|
||
# Create symlink for cache | ||
RUN mkdir -p /root/.local/share/coala && \ | ||
|