Skip to content

Commit 589587a

Browse files
authored
Fix docker image security issues (#1321)
Signed-off-by: ZePan110 <[email protected]>
1 parent f5699e4 commit 589587a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

comps/asr/src/integrations/dependency/whisper/Dockerfile.intel_hpu

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ COPY --chown=user:user comps /home/user/comps
2222
# Install requirements and optimum habana
2323
RUN pip install --no-cache-dir --upgrade pip && \
2424
pip install --no-cache-dir -r /home/user/comps/asr/src/requirements.txt && \
25-
pip install --no-cache-dir optimum[habana]
25+
pip install --no-cache-dir optimum[habana] && \
26+
pip install git+https://github.com/huggingface/optimum-habana.git@transformers_future && \
27+
pip install --no-cache-dir --upgrade Jinja2
2628

2729
ENV PYTHONPATH=$PYTHONPATH:/home/users
2830

0 commit comments

Comments
 (0)