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 3417f978 Downgrade Docker to version 24.0.7 to avoid issues with 
docker-squash command (#1171)
3417f978 is described below

commit 3417f9784a7f005b17fdf4e6c8247d46ed804efe
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Tue Jan 30 14:28:23 2024 -0300

    Downgrade Docker to version 24.0.7 to avoid issues with docker-squash 
command (#1171)
---
 apache-nodes/Dockerfile.kogito-ci-build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/apache-nodes/Dockerfile.kogito-ci-build 
b/apache-nodes/Dockerfile.kogito-ci-build
index c0d2165c..0c566ddc 100644
--- a/apache-nodes/Dockerfile.kogito-ci-build
+++ b/apache-nodes/Dockerfile.kogito-ci-build
@@ -6,6 +6,7 @@ ARG SDKMAN_JAVA="17.0.8-tem"
 ARG SDKMAN_MAVEN="3.9.3"
 ARG PYTHON_MAJOR_VERSION="3"
 ARG PYTHON_MAJOR_MINOR_VERSION="3.11"
+ARG DOCKER_VERSION="24.0.7"
 
 # set locale to C.UTF-8
 ENV LANG='C.UTF-8'
@@ -61,7 +62,10 @@ RUN groupadd -g 910 nonrootuser && useradd -u 910 -g 910 -s 
/bin/bash -m nonroot
   echo "nonrootuser ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
 
 # Docker
-RUN groupadd docker && \
+RUN wget -O docker.tgz 
https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz
  && \
+  tar --extract --file docker.tgz --strip-components 1 --directory 
/usr/local/bin/ && \
+  rm -rf docker.tgz && \
+  groupadd docker && \
   usermod -aG docker nonrootuser && \
   newgrp docker
 


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

Reply via email to