Skip to content

Commit 6916f75

Browse files
authored
Merge pull request #2 from max/add-git
Switch to alpine as base image and add git
2 parents 4890570 + 548b114 commit 6916f75

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10-slim
1+
FROM node:10-alpine
22

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

13+
RUN apk add --no-cache \
14+
git \
15+
&& rm -rf /var/cache/apk/*
16+
1317
RUN npm install -g awesome-lint
1418

1519
COPY entrypoint.sh /entrypoint.sh

0 commit comments

Comments
 (0)