Install gitdch using debian package
This commit is contained in:
parent
0e03184115
commit
03151df29c
1 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,11 @@
|
||||||
ENV APT_PACKAGES="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"
|
ENV APT_PACKAGES="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 gitdch"
|
||||||
ENV PIP_PACKAGES="wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser"
|
ENV PIP_PACKAGES="wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y $APT_PACKAGES && apt-get clean && rm -rf /var/lib/apt/lists/* && apt-file update
|
RUN echo "deb http://debian.zionetrix.net stable main" > /etc/apt/sources.list.d/zionetrix.list && \
|
||||||
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
|
apt-get -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true update && \
|
||||||
|
apt-get -o APT::Get::AllowUnauthenticated=true install --yes zionetrix-archive-keyring && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install --no-install-recommends -y $APT_PACKAGES && \
|
||||||
|
apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
|
apt-file update
|
||||||
|
|
Loading…
Reference in a new issue