From cc8c93121ca55ebba5efb3e4613f9d0818689ead Mon Sep 17 00:00:00 2001 From: Dylan Arbour Date: Sun, 14 Jul 2019 01:50:44 -0400 Subject: [PATCH] Add Dockerfile --- .dockerignore | 6 ++++++ Dockerfile | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..71d750f --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +.git +.gitignore +.pre-commit-hooks.yaml +.travis.yml +docs +tests diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..dda9f58 --- /dev/null +++ b/Dockerfile @@ -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"]