ansible-devspace/Dockerfile
Michael Grote 100599b5ca
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
apackages
2024-07-15 18:46:47 +02:00

45 lines
979 B
Docker

FROM python:3.12.4-bookworm
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /
COPY requirements.txt .
# hadolint ignore=DL3008,DL3028
RUN apt-get update \
&& apt-get -y --no-install-recommends install wget \
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* \
&& apt-get clean
RUN python3 -m pip install --upgrade pip \
&& python3 -m pip install --no-cache-dir -r requirements.txt
RUN python3 -m pip install --upgrade pip \
&& python3 -m pip install --no-cache-dir -r requirements.txt
RUN wget -q https://git.mgrote.net/mg/homeserver/raw/branch/master/requirements.yaml \
&& ansible-galaxy install -r requirements.yaml
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
vim \
tmux \
htop \
git \
dnsutils \
mc \
ca-certificates \
tree \
curl \
whois \
net-tools \
apt-transport-https \
moreutils \
acl \
ripgrep \
pwgen \
keychain \
bc \
jq \
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* \
&& apt-get clean