This repository has been archived on 2023-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
codecov/Dockerfile
Renovator Bot 4ea89abac3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(deps): update dependency codecov/uploader to v0.5.0 (#5)
Reviewed-on: docker/codecov#5
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2023-04-23 14:38:34 +02:00

30 lines
1.2 KiB
Docker

FROM thegeeklab/alpine:latest@sha256:505b43e896e284b382ff05327f5e7119916ef07f213b2123b32e4df257a176db
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.title="codecov"
LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/codecov"
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/codecov"
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/codecov"
ARG BUILD_VERSION
# renovate: datasource=github-releases depName=codecov/uploader
ENV CODECOV_VERSION="${BUILD_VERSION:-v0.5.0}"
COPY overlay/ /
RUN apk add --update --no-cache --virtual .build-deps tar && \
apk add --update --no-cache curl gnupg coreutils git && \
echo "Installing codecov version '${CODECOV_VERSION##v}' ..." && \
curl -SsfL -o /usr/local/bin/codecov "https://github.com/codecov/uploader/releases/download/${CODECOV_VERSION}/codecov-alpine" && \
chmod 755 /usr/local/bin/codecov && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/* && \
rm -rf /root/.cache/
USER root
CMD []
ENTRYPOINT ["/usr/local/bin/codecov"]