This is an automated email from the ASF dual-hosted git repository.

rantunes pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git


The following commit(s) were added to refs/heads/main by this push:
     new 8b5f261f Add ansible to the kogito-ci-image (#1159)
8b5f261f is described below

commit 8b5f261f4d62e325635dd279396c48ac6cba7fbd
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Wed Jan 10 17:58:14 2024 -0300

    Add ansible to the kogito-ci-image (#1159)
---
 apache-nodes/Dockerfile.kogito-ci-build | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/apache-nodes/Dockerfile.kogito-ci-build 
b/apache-nodes/Dockerfile.kogito-ci-build
index ce45316d..6c4f59c6 100644
--- a/apache-nodes/Dockerfile.kogito-ci-build
+++ b/apache-nodes/Dockerfile.kogito-ci-build
@@ -10,6 +10,9 @@ ARG PYTHON_MAJOR_MINOR_VERSION="3.11"
 # set locale to C.UTF-8
 ENV LANG='C.UTF-8'
 
+# set TZ to America/New_York
+ENV TZ='America/New_York'
+
 RUN apt update && apt upgrade -y && apt install -y \
 # skdman deps (BEGIN)
 git \
@@ -31,6 +34,7 @@ netcat \
 libvshadow-utils \
 sudo \
 wget \
+software-properties-common \
 # system (END)
 # drools (BEGIN)
 fontconfig \
@@ -141,6 +145,13 @@ RUN wget 
https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest-4.13/o
   sudo mv ${tmp_dir}/oc /usr/local/bin && \
   rm -rf ${tmp_dir} /tmp/openshift-client*
 
+# Install ansible
+RUN sudo ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
+    echo $TZ | sudo tee /etc/timezone && \
+    sudo add-apt-repository --yes --update ppa:ansible/ansible && \
+    sudo apt update && \
+    sudo apt install -y ansible
+
 # Convenience script to account for using 'alternatives' in some places
 RUN sudo bash -c 'echo -e "#!/bin/bash\nupdate-alternatives \"\$@\"" > 
/usr/local/bin/alternatives' \
   && sudo chmod +x /usr/local/bin/alternatives


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to