File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
examples/cpu/inference/python/llm Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ARG BASE_IMAGE=ubuntu:22.04
9
9
FROM ${BASE_IMAGE} AS base
10
10
RUN if [ -f /etc/apt/apt.conf.d/proxy.conf ]; then rm /etc/apt/apt.conf.d/proxy.conf; fi && \
11
11
if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::Proxy \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf.d/proxy.conf; fi && \
12
- if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::http ::Proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf.d/proxy.conf; fi
12
+ if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https ::Proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf.d/proxy.conf; fi
13
13
RUN apt update && \
14
14
apt full-upgrade -y && \
15
15
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
@@ -39,7 +39,7 @@ WORKDIR /home/ubuntu
39
39
RUN curl -fsSL -v -o miniconda.sh -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
40
40
bash miniconda.sh -b -p ./miniconda3 && \
41
41
rm miniconda.sh && \
42
- echo "\nsource ~/miniconda3/bin/activate" >> ./.bashrc
42
+ echo "source ~/miniconda3/bin/activate" >> ./.bashrc
43
43
44
44
FROM base AS dev
45
45
COPY --chown=ubuntu:ubuntu . ./intel-extension-for-pytorch
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ARG BASE_IMAGE=ubuntu:22.04
9
9
FROM ${BASE_IMAGE} AS base
10
10
RUN if [ -f /etc/apt/apt.conf.d/proxy.conf ]; then rm /etc/apt/apt.conf.d/proxy.conf; fi && \
11
11
if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::Proxy \" ${HTTP_PROXY}\" ;" >> /etc/apt/apt.conf.d/proxy.conf; fi && \
12
- if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::http ::Proxy \" ${HTTPS_PROXY}\" ;" >> /etc/apt/apt.conf.d/proxy.conf; fi
12
+ if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https ::Proxy \" ${HTTPS_PROXY}\" ;" >> /etc/apt/apt.conf.d/proxy.conf; fi
13
13
RUN apt update && \
14
14
apt full-upgrade -y && \
15
15
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
@@ -39,7 +39,7 @@ WORKDIR /home/ubuntu
39
39
RUN curl -fsSL -v -o miniconda.sh -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
40
40
bash miniconda.sh -b -p ./miniconda3 && \
41
41
rm miniconda.sh && \
42
- echo "\n source ~/miniconda3/bin/activate" >> ./.bashrc
42
+ echo "source ~/miniconda3/bin/activate" >> ./.bashrc
43
43
44
44
# --build-arg COMPILE=ON to compile from source
45
45
ARG COMPILE
You can’t perform that action at this time.
0 commit comments