Skip to content

Commit

Permalink
feat: configure Clang as the default C++ and C compiler using environ…
Browse files Browse the repository at this point in the history
…ment variables
  • Loading branch information
wu-vincent committed Sep 18, 2024
1 parent da2dbff commit df59864
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ RUN apt-get update -y -q \
&& apt-get clean -y -q \
&& rm -rf /var/lib/apt/lists/*

ENV CXX=clang++ \
CC=clang

RUN useradd -m -s /bin/bash endstone \
&& echo "endstone:endstone" | chpasswd \
&& adduser endstone sudo \
Expand Down

0 comments on commit df59864

Please sign in to comment.