This is an automated email from the ASF dual-hosted git repository.
tzimanyi pushed a commit to branch ubuntu-image
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
The following commit(s) were added to refs/heads/ubuntu-image by this push:
new e77cb46c Add required groups to CI image
e77cb46c is described below
commit e77cb46c22862a26a7d210abf1f9cb96d3a80d0d
Author: Tibor Zimányi <[email protected]>
AuthorDate: Thu Nov 2 12:38:49 2023 +0100
Add required groups to CI image
---
apache-nodes/Dockerfile.kogito-ci-build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/apache-nodes/Dockerfile.kogito-ci-build
b/apache-nodes/Dockerfile.kogito-ci-build
index 500ff1e8..79fd6f80 100644
--- a/apache-nodes/Dockerfile.kogito-ci-build
+++ b/apache-nodes/Dockerfile.kogito-ci-build
@@ -56,6 +56,8 @@ RUN sudo update-alternatives --install /usr/local/bin/python
python $(which pyth
sudo update-alternatives --install /usr/local/bin/python3 python3 $(which
python${PYTHON_MAJOR_MINOR_VERSION}) 1 && \
sudo update-alternatives --install /usr/local/bin/pip pip $(which
pip${PYTHON_MAJOR_VERSION}) 1
+RUN groupadd input && groupadd render
+
RUN groupadd -g 910 nonrootuser && useradd -u 910 -g 910 -s /bin/bash -m
nonrootuser && \
echo "nonrootuser ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]