functioning dockerfile

This commit is contained in:
“ibrahim0814” 2019-07-30 23:51:36 -07:00
parent 4779151e5f
commit 7a4fef29fd
No known key found for this signature in database
GPG key ID: DBBD7CB06738E2BF
5 changed files with 7 additions and 4 deletions

16
codecov/Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM alpine:3.10.1
LABEL "com.github.actions.name"="Codecov"
LABEL "com.github.actions.description"="Upload coverage reports to codecov"
LABEL "com.github.actions.icon"="umbrella"
LABEL "com.github.actions.color"="red"
LABEL "repository"="https://github.com/ibrahim0814/github-actions-test.git"
LABEL "homepage"="https://www.codecov.io"
LABEL "maintainer"="Ib <ibrahim@codecov.io>"
RUN apk add --no-cache curl bash git
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

5
codecov/entrypoint.sh Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
set -eu
bash <(curl -s https://codecov.io/bash)