File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
- # Copyright (C) 2023 Intel Corporation
1
+ # Copyright (C) 2023-2024 Intel Corporation
2
2
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
3
3
# See LICENSE.TXT
4
4
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -51,20 +51,23 @@ RUN apt-get update \
51
51
${BASE_DEPS} \
52
52
${UR_DEPS} \
53
53
${MISC_DEPS} \
54
+ && rm -rf /var/lib/apt/lists/* \
54
55
&& apt-get clean all
55
56
56
- RUN pip3 install ${UR_PYTHON_DEPS}
57
+ # pip package is pinned to a version, but it's probably improperly parsed here
58
+ # hadolint ignore=DL3013
59
+ RUN pip3 install --no-cache-dir ${UR_PYTHON_DEPS}
57
60
58
61
# Install DPC++
59
- COPY install_dpcpp.sh install_dpcpp.sh
62
+ COPY install_dpcpp.sh /opt/ install_dpcpp.sh
60
63
ENV DPCPP_PATH=/opt/dpcpp
61
- RUN . /install_dpcpp.sh
64
+ RUN /opt /install_dpcpp.sh
62
65
63
66
# Install libbacktrace
64
- COPY install_libbacktrace.sh install_libbacktrace.sh
65
- RUN . /install_libbacktrace.sh
67
+ COPY install_libbacktrace.sh /opt/ install_libbacktrace.sh
68
+ RUN /opt /install_libbacktrace.sh
66
69
67
70
# Add a new (non-root) 'user'
68
71
ENV USER user
69
72
ENV USERPASS pass
70
- RUN useradd -m $ USER -g sudo -p ` mkpasswd $USERPASS`
73
+ RUN useradd -m "${ USER}" -g sudo -p "$( mkpasswd ${ USERPASS})"
Original file line number Diff line number Diff line change 30
30
with :
31
31
recursive : true
32
32
dockerfile : " .github/docker/*Dockerfile"
33
+ # ignore pinning apt packages to versions
34
+ ignore : DL3008
You can’t perform that action at this time.
0 commit comments