Skip to content

Commit

Permalink
improve variable naming style.
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Pham <[email protected]>
Signed-off-by: Mohu <[email protected]>
  • Loading branch information
ayamir and aarnphm authored Nov 27, 2023
1 parent 9277967 commit d281ae1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ RUN apt-get update && apt-get install -y \
RUN update-ca-certificates

# Add a command to select a mirror based on a condition
ARG use_mirror=false
ARG USE_MIRROR=false
ENV use_mirror=$USE_MIRROR
RUN if [ "$use_mirror" = "true" ]; then \
sed -i 's@http://archive.ubuntu.com/ubuntu/@https://mirrors.tuna.tsinghua.edu.cn/ubuntu/@' /etc/apt/sources.list \
;fi
Expand Down

0 comments on commit d281ae1

Please sign in to comment.