diff --git a/Dockerfile b/Dockerfile index 57e1845..5228365 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,20 @@ -FROM python:3 -RUN git config --global user.email repo-resource@concourse-ci.org && \ - git config --global user.name repo-resource && \ - git config --global color.ui never +FROM python:3-slim + +RUN apt update \ + && apt install -y git procps \ + && apt upgrade -y \ + && apt autoremove \ + && rm -rf /var/lib/apt/lists/* + +RUN git config --global user.email repo-resource@concourse-ci.org \ + && git config --global user.name repo-resource \ + && git config --global color.ui never COPY ssh_config /root/.ssh/config COPY repo_resource/requirements.txt /opt/resource/requirements.txt RUN pip install -r opt/resource/requirements.txt + COPY repo_resource/check.py /opt/resource/check COPY repo_resource/in_.py /opt/resource/in COPY repo_resource/out.py /opt/resource/out