ansible-devspace/Dockerfile
Michael Grote 3e441f8c5d
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline failed
df
2024-07-11 17:51:36 +02:00

16 lines
476 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
RUN python3 -m pip install --no-cache-dir -r requirements.txt \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
RUN wget -q https://git.mgrote.net/mg/homeserver/raw/branch/master/requirements.yaml \
&& ansible-galaxy install -r requirements.yaml