Skip to content

Commit f9bba0d

Browse files
authored
Create Dockerfile
1 parent 2a314d2 commit f9bba0d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM jfloff/alpine-python
2+
3+
LABEL "com.github.actions.name"="Python Syntax Checker"
4+
LABEL "com.github.actions.description"="Run flake8 to find syntax errors in a Python repo."
5+
LABEL "com.github.actions.icon"="upload-cloud"
6+
LABEL "com.github.actions.color"="6f42c1"
7+
8+
RUN pip install --upgrade pip
9+
RUN pip install flake8
10+
11+
CMD ["flake8", "/github/workspace/", "--count", "--select=E901,E999,F821,F822,F823", "--show-source", "--statistics"]

0 commit comments

Comments
 (0)