Skip to content

Commit 1a4462e

Browse files
committed
add root user to tests
Signed-off-by: jafraustro <jaime.fraustro.valdez@intel.com>
1 parent 2140f59 commit 1a4462e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

preset/deep-learning/Dockerfile

-5
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,9 @@ ARG GID=109
107107
RUN groupadd -g ${GID} render
108108
RUN usermod -aG root,sudo,video,render dev
109109
RUN echo 'dev:password' | chpasswd
110-
111110
USER dev
112111
WORKDIR /home/dev
113112

114-
ARG GID=110
115-
RUN groupadd -g ${GID} render &&\
116-
usermod -aG root,sudo,video,render dev
117-
118113
ENV CONDA_ROOT=/home/dev/conda
119114
ARG MINIFORGE_VERSION
120115
ARG PYTHON_VERSION

preset/inference-optimization/tests.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ inference-optimization-inc-tensorflow-${PYTHON_VERSION:-3.9}-gpu:
4242
cmd: conda run -n tensorflow-gpu sample-tests/neural_compressor/tensorflow/run.sh gpu
4343
img: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-inference-optimization-${RELEASE:-2024.2.0}-py${PYTHON_VERSION:-3.9}
4444
device: ["/dev/dri"]
45+
user: root
4546

4647
inference-optimization-inc-torch-${PYTHON_VERSION:-3.9}-cpu:
4748
cmd: conda run -n pytorch-cpu sample-tests/neural_compressor/torch/run.sh cpu

0 commit comments

Comments
 (0)