Skip to content

Commit

Permalink
bug fix in dockerfile.compile (#3617)
Browse files Browse the repository at this point in the history
  • Loading branch information
jingxu10 authored Dec 15, 2023
1 parent 17b8f05 commit 45400a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.compile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG BASE_IMAGE=ubuntu:22.04
FROM ${BASE_IMAGE} AS base
RUN if [ -f /etc/apt/apt.conf.d/proxy.conf ]; then rm /etc/apt/apt.conf.d/proxy.conf; fi && \
if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::Proxy \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf.d/proxy.conf; fi && \
if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::http::Proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf.d/proxy.conf; fi
if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::Proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf.d/proxy.conf; fi
RUN apt update && \
apt full-upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
Expand Down Expand Up @@ -40,7 +40,7 @@ WORKDIR /home/ubuntu
RUN curl -fsSL -v -o miniconda.sh -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
bash miniconda.sh -b -p ./miniconda3 && \
rm miniconda.sh && \
echo "\nsource ~/miniconda3/bin/activate" >> ./.bashrc
echo "source ~/miniconda3/bin/activate" >> ./.bashrc

FROM base AS dev
RUN bash /basekit_driver_install_helper.sh dev
Expand Down

0 comments on commit 45400a8

Please sign in to comment.