Skip to content

Commit

Permalink
Merge pull request #2 from max/add-git
Browse files Browse the repository at this point in the history
Switch to alpine as base image and add git
  • Loading branch information
max authored Mar 2, 2019
2 parents 4890570 + 548b114 commit 6916f75
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10-slim
FROM node:10-alpine

LABEL version="1.0.0"
LABEL repository="http://github.com/max/awesome-lint"
Expand All @@ -10,6 +10,10 @@ LABEL "com.github.actions.description"="Wraps the awesome-lint tool to check awe
LABEL "com.github.actions.icon"="play"
LABEL "com.github.actions.color"="purple"

RUN apk add --no-cache \
git \
&& rm -rf /var/cache/apk/*

RUN npm install -g awesome-lint

COPY entrypoint.sh /entrypoint.sh
Expand Down

0 comments on commit 6916f75

Please sign in to comment.