functioning dockerfile

This commit is contained in:
“ibrahim0814”
2019-07-30 23:51:36 -07:00
parent 4779151e5f
commit 7a4fef29fd
5 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM debian:9.5-slim
FROM alpine:3.10.1
LABEL "com.github.actions.name"="Codecov"
LABEL "com.github.actions.description"="Upload coverage reports to codecov"
@@ -9,9 +9,7 @@ LABEL "repository"="https://github.com/ibrahim0814/github-actions-test.git"
LABEL "homepage"="https://www.codecov.io"
LABEL "maintainer"="Ib <ibrahim@codecov.io>"
RUN apt-get install bash-completion
RUN apt-get install git-all
RUN apt-get install curl
RUN apk add --no-cache curl bash git
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /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)