add requirements.txt
This commit is contained in:
parent
51576b88b2
commit
7a7e178a2a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue