ansible-devspace/Dockerfile

20 lines
545 B
Docker
Raw Normal View History

2024-07-09 22:35:14 +02:00
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 \
2024-07-09 23:02:46 +02:00
python3 \
2024-07-09 22:41:06 +02:00
wget \
2024-07-11 17:44:02 +02:00
&& python3 -m ensurepip --upgrade \
2024-07-11 17:34:14 +02:00
&& python3 -m pip install --no-cache-dir -r requirements.txt --break-system-packages \
2024-07-09 22:35:14 +02:00
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
2024-07-09 22:38:44 +02:00
RUN wget -q https://git.mgrote.net/mg/homeserver/raw/branch/master/requirements.yaml \
2024-07-09 22:35:14 +02:00
&& ansible-galaxy install -r requirements.yaml