Skip to content

Commit

Permalink
feat: add sourcery cli image
Browse files Browse the repository at this point in the history
  • Loading branch information
aexvir committed Feb 17, 2021
1 parent 4d0777b commit ae53509
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
image: ["black", "kubeval", "kubeconform", "poetry", "pre-commit", "tox"]
image: ["black", "kubeval", "kubeconform", "poetry", "pre-commit", "sourcery", "tox"]

steps:
- uses: actions/checkout@v2
Expand Down
12 changes: 12 additions & 0 deletions sourcery/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM python:3.9-slim

ENV version=0.8.7
RUN addgroup --system sourcery && adduser --disabled-password --system sourcery && \
pip install --no-cache-dir sourcery-cli==$version && \
mkdir /src

USER sourcery

CMD ["sourcery"]
LABEL name=sourcery version=$version \
maintainer="Alex Viscreanu <[email protected]>"

0 comments on commit ae53509

Please sign in to comment.