This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch kie-issues_747
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
The following commit(s) were added to refs/heads/kie-issues_747 by this push:
new f0894bf1 switch default shell to bash
f0894bf1 is described below
commit f0894bf1e362c644ddb466edf841abf4d18703c1
Author: jstastny-cz <[email protected]>
AuthorDate: Thu Dec 7 14:05:07 2023 +0100
switch default shell to bash
---
.ci/jenkins/Jenkinsfile.build-kogito-ci-image | 2 ++
apache-nodes/Dockerfile.kogito-ci-build | 7 ++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
b/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
index eef15436..b66c22ab 100644
--- a/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
+++ b/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
@@ -65,9 +65,11 @@ pipeline {
}
}
steps {
+ echo 'Init docker'
sh 'wait-for-docker.sh'
echo 'Debug basics'
sh '''
+ ps -p $$
locale
printenv
'''
diff --git a/apache-nodes/Dockerfile.kogito-ci-build
b/apache-nodes/Dockerfile.kogito-ci-build
index 10455c9a..4fcfea5c 100644
--- a/apache-nodes/Dockerfile.kogito-ci-build
+++ b/apache-nodes/Dockerfile.kogito-ci-build
@@ -164,7 +164,12 @@ RUN chmod +x /usr/local/bin/start-docker.sh \
/usr/local/bin/wait-for-process.sh
USER nonrootuser
-RUN echo "source wait-for-docker.sh" >> ~/.profile
+RUN echo "source wait-for-docker.sh" >> ~/.bashrc
+
+# Use bash as default instead of dash (BEGIN)
+RUN echo "dash dash/sh boolean false" | debconf-set-selections
+RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
+# Use bash as default instead of dash (END)
ENTRYPOINT ["entrypoint.sh"]
CMD ["bash"]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]