Commit ae5a45b8 authored by Christoph Weyer's avatar Christoph Weyer
Browse files

Update Dockerfile

parent fa75e5eb
FROM alpine:3.13 as builder
FROM alpine:3.13.7 as builder
# ignore warning about pining version
# hadolint ignore=DL3018
......@@ -32,7 +32,7 @@ RUN mkdir -p /kaniko/0/usr/lib/python3.8/
# hadolint ignore=DL3059
RUN cp -r /usr/lib/python3.8/site-packages /kaniko/0/usr/lib/python3.8/
FROM alpine:3.13 as production
FROM alpine:3.13.7 as production
LABEL org.opencontainers.image.title="tuhh/e-17/weyer/ansiblelint"
......@@ -61,9 +61,6 @@ RUN set -eux \
&& find /usr/lib/ -name '__pycache__' -print0 | xargs -0 -n1 rm -rf \
&& find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf
# hadolint ignore=DL3059
RUN find /kaniko -type d -print
COPY --from=builder /usr/lib/python3.8/site-packages/ /usr/lib/python3.8/site-packages/
COPY --from=builder /usr/bin/ansible-lint /usr/bin/ansible-lint
COPY --from=builder /usr/bin/ansible /usr/bin/ansible
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment