Skip to content

Commit 45400a8

Browse files
authored
bug fix in dockerfile.compile (#3617)
1 parent 17b8f05 commit 45400a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/Dockerfile.compile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG BASE_IMAGE=ubuntu:22.04
99
FROM ${BASE_IMAGE} AS base
1010
RUN 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
1313
RUN apt update && \
1414
apt full-upgrade -y && \
1515
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
@@ -40,7 +40,7 @@ WORKDIR /home/ubuntu
4040
RUN curl -fsSL -v -o miniconda.sh -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
4141
bash miniconda.sh -b -p ./miniconda3 && \
4242
rm miniconda.sh && \
43-
echo "\nsource ~/miniconda3/bin/activate" >> ./.bashrc
43+
echo "source ~/miniconda3/bin/activate" >> ./.bashrc
4444

4545
FROM base AS dev
4646
RUN bash /basekit_driver_install_helper.sh dev

0 commit comments

Comments
 (0)