Add Dockerfile
parent
cb5fe2c050
commit
cc8c93121c
@ -0,0 +1,6 @@
|
||||
.git
|
||||
.gitignore
|
||||
.pre-commit-hooks.yaml
|
||||
.travis.yml
|
||||
docs
|
||||
tests
|
@ -0,0 +1,10 @@
|
||||
FROM python:3-alpine3.10
|
||||
|
||||
WORKDIR /
|
||||
COPY . /src
|
||||
RUN pip install --no-cache-dir /src && \
|
||||
rm -rf ~/.cache/pip && \
|
||||
rm -rf /src
|
||||
|
||||
ENTRYPOINT [ "yamllint" ]
|
||||
CMD ["--version"]
|
Loading…
Reference in New Issue