summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlex Mor <5476113+nashcontrol@users.noreply.github.com>2023-04-01 11:39:07 +0300
committerGitHub <noreply@github.com>2023-04-01 10:39:07 +0200
commite3f68d5e7ef0a659c2da82d8b83e6def10d8b0c5 (patch)
treea638d83fc1a8819f2d52af0cb552a149adb0a4d5 /examples
parente9894d304faa9561aeb00c47bef103ec2c510342 (diff)
downloadpylint-git-e3f68d5e7ef0a659c2da82d8b83e6def10d8b0c5.tar.gz
Move dockerfile to the example directory bump to alpine3.17 (#8353)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/Dockerfile b/examples/Dockerfile
new file mode 100644
index 000000000..080fa0744
--- /dev/null
+++ b/examples/Dockerfile
@@ -0,0 +1,7 @@
+FROM python:3.10.10-alpine3.17
+
+COPY ./ /tmp/build
+WORKDIR /tmp/build
+RUN python -m pip install --no-cache-dir . && rm -rf /tmp/build
+
+ENTRYPOINT ["pylint"]