Skip to content

Commit

Permalink
Downgrade Docker to version 24.0.7 to avoid issues with docker-squash…
Browse files Browse the repository at this point in the history
… command (#1171)
  • Loading branch information
rodrigonull authored Jan 30, 2024
1 parent c79064d commit 3417f97
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apache-nodes/Dockerfile.kogito-ci-build
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 3417f97

Please sign in to comment.