Improve Dockerfile to make image smaller
This commit is contained in:
parent
0ba1127410
commit
8a7173cb29
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue