Skip to content

Commit 2db102b

Browse files
authored
Merge pull request #13 from jeffwidman/patch-1
Bump Alpine version to 3.11
2 parents 7cd6cef + 2608468 commit 2db102b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.9 as builder
1+
FROM alpine:3.11 as builder
22

33
RUN set -eux \
44
&& apk add --no-cache \
@@ -19,7 +19,7 @@ RUN set -eux \
1919
&& find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf
2020

2121

22-
FROM alpine:3.9 as production
22+
FROM alpine:3.11 as production
2323
ARG VERSION
2424
# https://github.com/opencontainers/image-spec/blob/master/annotations.md
2525
#LABEL "org.opencontainers.image.created"=""
@@ -41,7 +41,7 @@ RUN set -eux \
4141
&& ln -sf /usr/bin/python3 /usr/bin/python \
4242
&& find /usr/lib/ -name '__pycache__' -print0 | xargs -0 -n1 rm -rf \
4343
&& find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf
44-
COPY --from=builder /usr/lib/python3.6/site-packages/ /usr/lib/python3.6/site-packages/
44+
COPY --from=builder /usr/lib/python3.8/site-packages/ /usr/lib/python3.8/site-packages/
4545
COPY --from=builder /usr/bin/yamllint /usr/bin/yamllint
4646
WORKDIR /data
4747
ENTRYPOINT ["yamllint"]

0 commit comments

Comments
 (0)