Skip to content

Commit a395e90

Browse files
authored
Bugfix in Dockerfiles (#189)
1 parent 2027439 commit a395e90

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker/Dockerfile.base

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ RUN apt update && \
4848
patchelf \
4949
# Workaround for CVE-2023-5752 will install upstream pip as user
5050
# python3-pip \
51+
python-is-python3 \
5152
software-properties-common \
5253
sudo \
5354
unzip \
@@ -59,7 +60,6 @@ RUN apt update && \
5960
apt autoclean -y && \
6061
rm -rf /var/lib/apt/lists/*
6162

62-
RUN ["pip", "install", "toml", "argcomplete"]
6363
# Update alternatives clean up cpp configuration
6464
RUN update-alternatives --remove-all cpp
6565
# Update alternatives for GCC-11

docker/Dockerfile.toolkit

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ RUN mkdir -p $HOME/pip-install-package \
3535
WORKDIR $HOME/pip-install-package
3636
RUN wget https://bootstrap.pypa.io/get-pip.py && \
3737
python get-pip.py && \
38-
source $HOME/.profile && \
38+
. $HOME/.profile && \
3939
pip install pip --upgrade
4040
###################################################
4141

42+
RUN ["pip", "install", "toml", "argcomplete"]
43+
4244
# Change directories to $HOME/Intel-HE-Toolkit
4345
WORKDIR $HOME/he-toolkit
4446

0 commit comments

Comments
 (0)