base-build-env/Dockerfile

48 lines
1.6 KiB
Docker

FROM debian:bullseye
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName="registry.hottis.de/dockerized/base-build-env"
LABEL AlternativeImageName="wollud1969/base-build-env"
LABEL NexusImageName="devnexus.krohne.com:18079/repository/docker-krohne/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 && \
update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1 && \
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/* && \
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