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
99FROM ${BASE_IMAGE} AS base
1010RUN if [ -f /etc/apt/apt.conf.d/proxy.conf ]; then rm /etc/apt/apt.conf.d/proxy.conf; fi && \
1111 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
1313RUN apt update && \
1414 apt full-upgrade -y && \
1515 DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
@@ -39,7 +39,7 @@ WORKDIR /home/ubuntu
3939RUN curl -fsSL -v -o miniconda.sh -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
4040 bash miniconda.sh -b -p ./miniconda3 && \
4141 rm miniconda.sh && \
42- echo "\nsource ~/miniconda3/bin/activate" >> ./.bashrc
42+ echo "source ~/miniconda3/bin/activate" >> ./.bashrc
4343
4444FROM base AS dev
4545COPY --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
99FROM ${BASE_IMAGE} AS base
1010RUN if [ -f /etc/apt/apt.conf.d/proxy.conf ]; then rm /etc/apt/apt.conf.d/proxy.conf; fi && \
1111 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
1313RUN apt update && \
1414 apt full-upgrade -y && \
1515 DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
@@ -39,7 +39,7 @@ WORKDIR /home/ubuntu
3939RUN curl -fsSL -v -o miniconda.sh -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
4040 bash miniconda.sh -b -p ./miniconda3 && \
4141 rm miniconda.sh && \
42- echo "\n source ~/miniconda3/bin/activate" >> ./.bashrc
42+ echo "source ~/miniconda3/bin/activate" >> ./.bashrc
4343
4444# --build-arg COMPILE=ON to compile from source
4545ARG COMPILE
You can’t perform that action at this time.
0 commit comments