From 20ec8c52da377fb499fab568fbdd26f51b4037f4 Mon Sep 17 00:00:00 2001 From: Darren <27513732@qq.com> Date: Wed, 13 Dec 2023 07:56:42 +0800 Subject: [PATCH] test build --- apps/ansible/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/ansible/Dockerfile b/apps/ansible/Dockerfile index 491d0353e..ec9f05650 100644 --- a/apps/ansible/Dockerfile +++ b/apps/ansible/Dockerfile @@ -7,6 +7,8 @@ LABEL maintainer="help@websoft9.com" LABEL version="latest" LABEL description="Ansible" +USER root + WORKDIR "/ansible/project" RUN yum check-update; \ @@ -27,7 +29,7 @@ RUN pip3 install --upgrade pip; \ pip3 install pywinrm; \ pip3 install jmspath; \ pip3 install requests; \ - + # download template of role, it's to run the tasks of you want to test -- need transfer # RUN git clone https://github.com/Websoft9/role_template