add requirements.txt
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Michael Grote 2024-07-30 14:29:21 +02:00
parent 51576b88b2
commit 7a7e178a2a

View file

@ -48,13 +48,13 @@ WORKDIR /home/ansible-dev/
COPY --chown=ansible-dev:ansible-dev start_tmux.sh . COPY --chown=ansible-dev:ansible-dev start_tmux.sh .
COPY --chown=ansible-dev:ansible-dev version.sh . COPY --chown=ansible-dev:ansible-dev version.sh .
COPY --chown=ansible-dev:ansible-dev requirements.txt .
# hadolint ignore=DL3013 # hadolint ignore=DL3013
RUN python3 -m pip install --no-cache-dir --upgrade pip \ RUN python3 -m pip install --no-cache-dir --upgrade pip \
&& python3 -m pip install --no-cache-dir -r requirements.txt \ && python3 -m pip install --no-cache-dir -r requirements.txt \
&& rm -rf requirements.txt && rm -rf requirements.txt
COPY --chown=ansible-dev:ansible-dev requirements.yaml . COPY --chown=ansible-dev:ansible-dev requirements.yaml .
RUN ansible-galaxy install -r requirements.yaml \ RUN ansible-galaxy install -r requirements.yaml \
&& rm -rf requirements.yaml && rm -rf requirements.yaml