base-build-env/Dockerfile

51 lines
1.3 KiB
Docker
Raw Permalink Normal View History

2024-08-20 14:39:22 +02:00
FROM debian:bookworm
2019-02-16 23:21:02 +01:00
2019-03-27 14:20:40 +00:00
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
2020-06-08 16:04:50 +00:00
LABEL AlternativeImageName="wollud1969/base-build-env"
2020-03-17 14:56:00 +00:00
2019-02-16 23:21:02 +01:00
2024-08-20 14:39:22 +02:00
RUN \
sed -i 's,deb.debian.org,ftp.de.debian.org,g' /etc/apt/sources.list.d/debian.sources
2020-09-23 16:53:33 +02:00
2019-02-16 23:21:02 +01:00
RUN \
2021-03-11 12:18:24 +01:00
apt update && \
apt upgrade -y && \
2024-08-20 14:39:22 +02:00
apt autoremove && \
2021-03-11 12:18:24 +01:00
apt install -y ca-certificates && \
apt install -y make && \
apt install -y openssh-client && \
apt install -y git && \
2021-08-02 17:20:13 +02:00
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 && \
2024-08-20 14:39:22 +02:00
apt install -y python3-cheetah && \
2021-03-11 12:18:24 +01:00
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 && \
2024-08-20 14:39:22 +02:00
apt install -y vim-tiny && \
2021-03-11 12:18:24 +01:00
apt install -y p7zip-full && \
apt install -y procps && \
apt install -y doxygen && \
2024-08-20 14:39:22 +02:00
apt install -y jq
RUN \
2021-08-02 17:31:11 +02:00
ln -s /usr/bin/python3 /usr/bin/python && \
2024-08-20 14:39:22 +02:00
mkdir -p /tmp/gru
COPY *.py /tmp/gru
RUN \
cd /tmp/gru && \
for I in *.py; do python -m py_compile $I; done && \
for I in *.py; do python -m pycodestyle --ignore=E501 $I; done && \
chmod 755 *.py && \
cp *.py /usr/bin
2021-03-11 12:18:24 +01:00