From bc672c92a31be640c9f9790c45fb5877e4c52fc3 Mon Sep 17 00:00:00 2001 From: Jon Ervine Date: Thu, 3 Jun 2021 22:06:17 +0800 Subject: [PATCH] Added wget --- Containerfile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Containerfile b/Containerfile index df59e9a..3cdf00a 100644 --- a/Containerfile +++ b/Containerfile @@ -1,15 +1,18 @@ -FROM quay.io/ansible/awx-ee:0.2.0 +FROM harbor.ervine.dev/public/x86_64/awx-ee-template:0.2.0 ADD requirements_new.txt /tmp/requirements.txt ADD bashrc /home/runner/.bashrc RUN ansible-galaxy collection install community.general && \ pip3 install -r /tmp/requirements.txt && \ - curl -L https://get.helm.sh/helm-v3.5.4-linux-amd64.tar.gz -o /tmp/helm.tgz && \ + pip3 uninstall -y ansible-core && \ + pip3 install ansible-core && \ + yum install -y wget && \ + curl -L https://get.helm.sh/helm-v3.6.0-linux-amd64.tar.gz -o /tmp/helm.tgz && \ mkdir /home/runner/bin && \ - tar -zxvf /tmp/helm.tgz --strip-components=1 -C /home/runner/bin/ linux-amd64/helm && \ - ln -s /home/runner/bin/mariadb-dump /home/runner/bin/mysqldump -COPY mariadb-dump /home/runner/bin/ + tar -zxvf /tmp/helm.tgz --strip-components=1 -C /usr/local/bin/ linux-amd64/helm && \ + ln -s /usr/local/bin/mariadb-dump /usr/local/bin/mysqldump +COPY mariadb-dump /usr/local/bin/ CMD /run.sh -USER 1000 +#USER 1000 RUN git lfs install