awx-ee-custom/Containerfile
2021-06-03 22:06:17 +08:00

19 lines
699 B
Docker

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 && \
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 /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
RUN git lfs install