Skip to content

Commit

Permalink
ci(Dockerfile): clean commented blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
hero-intelligent committed Sep 3, 2023
1 parent c38246f commit dbde45e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@ RUN pnpm build

FROM golang:1.21-bookworm as build-bundle

# # before uncomment these, please comment next RUN!
# # install git and make
# # then install LLVM and clang from nightly package repository apt.llvm.org
# ARG LLVM_VERSION=15
#
# RUN \
# apt-get update; \
# apt-get install -y git make lsb-release wget software-properties-common gnupg; \
# wget https://apt.llvm.org/llvm.sh; \
# chmod +x llvm.sh; \
# ./llvm.sh ${LLVM_VERSION} all; \
# find /usr/bin/ -name clang* | sed -E 's@^(/usr/bin/.*)(\-[0-9]*)$@ln -s -v \1\2 \1@' | xargs -d '\n' -n 1 bash -c; \
# rm llvm.sh && apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/

RUN \
apt-get update; apt-get install -y git make llvm-15 clang-15; \
apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/
Expand Down

0 comments on commit dbde45e

Please sign in to comment.