diff --git a/test/functional/command/dockerfiles/Dockerfile b/test/functional/command/dockerfiles/Dockerfile index 0daf78f67c6..bd28656d0f9 100644 --- a/test/functional/command/dockerfiles/Dockerfile +++ b/test/functional/command/dockerfiles/Dockerfile @@ -1,4 +1,5 @@ -FROM conan-tests:latest +FROM ubuntu:22.04 + RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ build-essential \ @@ -6,6 +7,14 @@ RUN apt-get update \ python3 \ python3-pip \ python3-venv \ + sudo \ && rm -rf /var/lib/apt/lists/* + +ARG DOCKER_GID=127 + +RUN groupadd -g $DOCKER_GID docker || groupmod -g $DOCKER_GID docker + +RUN usermod -aG docker root + COPY . /root/conan-io -RUN cd /root/conan-io && pip install -e . \ No newline at end of file +RUN cd /root/conan-io && pip install -e .