diff --git a/Dockerfile b/Dockerfile index 2ea1ee4..b336ddb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,4 @@ FROM debian:latest -RUN apt-get update -RUN apt-get upgrade -y -RUN apt-get install -y python3-all python3-dev python3-pip python3-venv python3-apt apt-file dpkg-dev fakeroot build-essential devscripts debhelper dh-python python3-wheel sed lsb-release gnupg2 curl jq git python3-git rsync -RUN apt-file update +RUN apt-get update && apt-get install --no-install-recommends -y python3-all python3-dev python3-pip python3-venv python3-apt apt-file dpkg-dev fakeroot build-essential devscripts debhelper dh-python python3-wheel sed lsb-release gnupg2 curl jq git python3-git rsync && apt-get clean && rm -rf /var/lib/apt/lists/* && apt-file update RUN python3 -m pip install wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser -RUN git clone https://gitea.zionetrix.net/bn8/gitdch.git /usr/local/src/gitdch -RUN ln -s /usr/local/src/gitdch/gitdch /usr/local/bin/gitdch +RUN git clone https://gitea.zionetrix.net/bn8/gitdch.git /usr/local/src/gitdch && ln -s /usr/local/src/gitdch/gitdch /usr/local/bin/gitdch