2024-07-11 17:48:35 +02:00
|
|
|
FROM python:3.12.4-bookworm
|
2024-07-09 22:35:14 +02:00
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
WORKDIR /
|
|
|
|
COPY requirements.txt .
|
2024-07-15 18:59:33 +02:00
|
|
|
COPY requirements.yaml .
|
2024-07-15 18:15:20 +02:00
|
|
|
|
|
|
|
RUN python3 -m pip install --upgrade pip \
|
2024-07-15 19:13:09 +02:00
|
|
|
&& python3 -m pip install --no-cache-dir -r requirements.txt
|
2024-07-09 22:35:14 +02:00
|
|
|
|
2024-07-15 19:11:25 +02:00
|
|
|
RUN ansible-galaxy install -r requirements.yaml --force
|
2024-07-15 18:46:47 +02:00
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get -y --no-install-recommends install \
|
|
|
|
vim \
|
|
|
|
tmux \
|
|
|
|
htop \
|
|
|
|
git \
|
|
|
|
dnsutils \
|
|
|
|
mc \
|
|
|
|
ca-certificates \
|
|
|
|
tree \
|
2024-07-15 18:59:33 +02:00
|
|
|
wget \
|
2024-07-15 18:46:47 +02:00
|
|
|
curl \
|
|
|
|
whois \
|
|
|
|
net-tools \
|
|
|
|
apt-transport-https \
|
|
|
|
moreutils \
|
|
|
|
acl \
|
|
|
|
ripgrep \
|
|
|
|
pwgen \
|
|
|
|
keychain \
|
|
|
|
bc \
|
|
|
|
jq \
|
2024-07-15 19:09:04 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* requirements.txt requirements.yaml\
|
2024-07-15 18:46:47 +02:00
|
|
|
&& apt-get clean
|