Skip to content

Commit

Permalink
Merge pull request #45 from reviewdog/fixes_44
Browse files Browse the repository at this point in the history
Removes dependency on 'prologic/remark-lint:latest' and fix #44
  • Loading branch information
asbjornu authored Sep 2, 2021
2 parents 4501ea8 + 2536b14 commit e16cd95
Show file tree
Hide file tree
Showing 5 changed files with 1,957 additions and 525 deletions.
15 changes: 7 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM prologic/remark-lint:latest
FROM node:current-alpine

ENV REVIEWDOG_VERSION=v0.13.0

RUN apk --no-cache add bash~=5.0
RUN apk --no-cache add git~=2.30 bash~=5.1

ENV REVIEWDOG_VERSION=v0.13.0
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION}
RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION}

RUN apk --no-cache -U add git
RUN npm install -g remark-cli@10.0.0 remark-preset-lint-recommended@6.0.1 remark-lint@9.0.1

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
CMD []
ENTRYPOINT ["/entrypoint.sh"]
Loading

0 comments on commit e16cd95

Please sign in to comment.