add remove files
This commit is contained in:
parent
96e7622c47
commit
dbb4d62d3d
1 changed files with 6 additions and 3 deletions
|
@ -46,16 +46,19 @@ USER ansible-dev
|
||||||
|
|
||||||
WORKDIR /home/ansible-dev/
|
WORKDIR /home/ansible-dev/
|
||||||
|
|
||||||
COPY --chown=ansible-dev:ansible-dev requirements.txt .
|
|
||||||
COPY --chown=ansible-dev:ansible-dev requirements.yaml .
|
|
||||||
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 .
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
COPY --chown=ansible-dev:ansible-dev requirements.yaml .
|
||||||
|
|
||||||
|
RUN ansible-galaxy install -r requirements.yaml \
|
||||||
|
&& rm -rf requirements.yaml
|
||||||
|
|
||||||
RUN ansible-galaxy install -r requirements.yaml
|
|
||||||
|
|
||||||
# dotfiles, see: https://git.mgrote.net/mg/dotfiles/raw/branch/master/scripts/setup_minimal.sh
|
# dotfiles, see: https://git.mgrote.net/mg/dotfiles/raw/branch/master/scripts/setup_minimal.sh
|
||||||
# hadolint ignore=DL3001
|
# hadolint ignore=DL3001
|
||||||
|
|
Loading…
Reference in a new issue