Files
base-build-env/Dockerfile
2021-08-02 17:31:11 +02:00

48 lines
1.5 KiB
Docker

FROM debian:buster
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName="registry.hottis.de/dockerized/base-build-env"
LABEL AlternativeImageName="wollud1969/base-build-env"
ARG RELEASETOOL_URL="https://home.hottis.de/gitlab/wolutator/gitlabreleaseuploader/uploads/f97b219a1df1910822b9936a8236dfbd/GitlabReleaseTool.zip"
RUN \
apt update && \
apt upgrade -y && \
apt install -y ca-certificates && \
apt install -y make && \
apt install -y openssh-client && \
apt install -y git && \
apt install -y python3 && \
apt install -y python3-requests && \
apt install -y python3-pycodestyle && \
apt install -y python3-yaml && \
apt install -y python3-pip && \
apt install -y python3-xmltodict && \
apt install -y gpg && \
apt install -y apt-transport-https && \
apt install -y wget && \
apt install -y curl && \
apt install -y unzip && \
apt install -y zip && \
apt install -y vim.tiny && \
apt install -y p7zip-full && \
apt install -y procps && \
apt install -y doxygen && \
apt install -y jq && \
rm -rf /var/lib/apt/lists/* && \
ln -s /usr/bin/python3 /usr/bin/python && \
ln -s /usr/bin/pip3 /usr/bin/pip && \
pip install Cheetah3 && \
cd /tmp && \
wget $RELEASETOOL_URL && \
unzip GitlabReleaseTool.zip && \
chmod 755 gitlabreleaseuploader.py && \
chmod 755 deleterelease.py && \
chmod 755 checksemver.py && \
mv gitlabreleaseuploader.py /usr/bin && \
mv deleterelease.py /usr/bin && \
mv checksemver.py /usr/bin