Skip to content

Commit

Permalink
Merge pull request #6 from cytopia/release-0.2
Browse files Browse the repository at this point in the history
Fixes #5 Update to Python 3.8
  • Loading branch information
cytopia authored Mar 22, 2020
2 parents 3038ba8 + 3e74d71 commit 70e2311
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.9 as builder
FROM alpine:3.11 as builder

RUN set -x \
&& apk add --no-cache \
Expand All @@ -22,7 +22,7 @@ RUN set -x \
&& find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf


FROM alpine:3.9 as production
FROM alpine:3.11 as production
LABEL \
maintainer="cytopia <[email protected]>" \
repo="https://github.com/cytopia/docker-pylint"
Expand All @@ -31,7 +31,7 @@ RUN set -x \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& find /usr/lib/ -name '__pycache__' -print0 | xargs -0 -n1 rm -rf \
&& find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf
COPY --from=builder /usr/lib/python3.6/site-packages/ /usr/lib/python3.6/site-packages/
COPY --from=builder /usr/lib/python3.8/site-packages/ /usr/lib/python3.8/site-packages/
COPY --from=builder /usr/bin/pylint /usr/bin/pylint
WORKDIR /data
ENTRYPOINT ["pylint"]
Expand Down

0 comments on commit 70e2311

Please sign in to comment.