mirror of
https://github.com/codecov/codecov-action.git
synced 2026-03-29 17:35:06 +00:00
Fix shell command issues
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -1,12 +1,15 @@
|
||||
# Codecov @codecov
|
||||
|
||||
FROM ubuntu:latest
|
||||
FROM debian:stretch-slim
|
||||
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
curl \
|
||||
git \
|
||||
mercurial \
|
||||
--no-install-recommends && rm -r /var/lib/apt/lists/*
|
||||
|
||||
RUN apt update && apt install -y curl git mercurial
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
|
||||
ENTRYPOINT [ "/app/entrypoint.sh" ]
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user