ansible-devspace/Dockerfile
Michael Grote 7ed14ba19a
Some checks failed
ci/woodpecker/manual/lint Pipeline was successful
ci/woodpecker/manual/build Pipeline failed
fdgh
2024-07-11 17:40:55 +02:00

20 lines
544 B
Docker

FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /
COPY requirements.txt .
# hadolint ignore=DL3008,DL3028
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
python3 \
wget \
&& python -m ensurepip --upgrade \
&& python3 -m pip install --no-cache-dir -r requirements.txt --break-system-packages \
&& 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