intel/intel-cmt-cat

Failing On build DockerFile "intel-cmt-cat/appqos/docker/Dockerfile"

syedfarazalishah opened this issue ยท 1 comments

Before Changes at

RUN mkdir -p /python && \

STDERR:

debconf: delaying package configuration, since apt-utils is not installed
debconf: delaying package configuration, since apt-utils is not installed
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
The Python interpreter can't be found.โ–‰ 0/8 โ€” 00:00:00
  ๐Ÿ   โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰โ–‰ 0/8 โ€” 00:00:00
make[1]: *** [Makefile:41: /venv/] Error 1
make: *** [Makefile:44: setup] Error 2
time="2022-08-16T03:42:59-07:00" level=error msg="error unmounting container: error unmounting build container \"\": layer not known"
Error: error building at STEP "RUN mkdir -p /python &&     PYTHONUSERBASE=/python PIP_USER=1 PIPENV_SYSTEM=1 VENV_DIR=/venv/ make -C /appqos_workspace/appqos setup": error while running runtime: exit status 2


MSG:

non-zero return code

I just made this change to file

RUN mkdir -p /python && \

RUN mkdir -p /python 
    PYTHONUSERBASE=/python PIP_USER=1 PIPENV_SYSTEM=1 VENV_DIR=/venv/ make -C /appqos_workspace/appqos setup

After changes output:

--> 76efde6aa88
[4/4] STEP 14/15: WORKDIR /appqos_workspace/appqos
--> fa5fafd7bba
[4/4] STEP 15/15: CMD python3 ./appqos -c ${APPQOS_CONF_PATH} --port ${APPQOS_PORT}
[4/4] COMMIT appqos
--> 370a79ee8ce
Successfully tagged localhost/appqos:latest

We could not reproduce the issue.