Fix shell command issues

This commit is contained in:
Teoh Han Hui
2019-10-11 18:35:26 +02:00
parent 1c4a4261fa
commit 77e74f257f
2 changed files with 23 additions and 38 deletions

View File

@@ -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"]