File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- FROM alpine:3.9 as builder
1
+ FROM alpine:3.11 as builder
2
2
3
3
RUN set -eux \
4
4
&& apk add --no-cache \
@@ -19,7 +19,7 @@ RUN set -eux \
19
19
&& find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf
20
20
21
21
22
- FROM alpine:3.9 as production
22
+ FROM alpine:3.11 as production
23
23
ARG VERSION
24
24
# https://github.com/opencontainers/image-spec/blob/master/annotations.md
25
25
# LABEL "org.opencontainers.image.created"=""
@@ -41,7 +41,7 @@ RUN set -eux \
41
41
&& ln -sf /usr/bin/python3 /usr/bin/python \
42
42
&& find /usr/lib/ -name '__pycache__' -print0 | xargs -0 -n1 rm -rf \
43
43
&& 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/
45
45
COPY --from=builder /usr/bin/yamllint /usr/bin/yamllint
46
46
WORKDIR /data
47
47
ENTRYPOINT ["yamllint" ]
You can’t perform that action at this time.
0 commit comments