Stop using clang as default compiler
parent
7cac4cef68
commit
f0ac64d9c6
|
@ -19,7 +19,7 @@ RUN \
|
|||
pacman-key --init && \
|
||||
pacman-key --populate && \
|
||||
mkdir /rootfs && \
|
||||
/files/pacstrap-docker /rootfs base-devel clang git && \
|
||||
/files/pacstrap-docker /rootfs base-devel git && \
|
||||
cp /etc/pacman.d/mirrorlist /rootfs/etc/pacman.d/mirrorlist && \
|
||||
echo "en_US.UTF-8 UTF-8" > /rootfs/etc/locale.gen && \
|
||||
echo "LANG=en_US.UTF-8" > /rootfs/etc/locale.conf && \
|
||||
|
@ -28,9 +28,7 @@ RUN \
|
|||
|
||||
FROM scratch
|
||||
COPY --from=bootstrapper /rootfs/ /
|
||||
ENV LANG=en_US.UTF-8 \
|
||||
CC=clang \
|
||||
CXX=clang++
|
||||
ENV LANG=en_US.UTF-8
|
||||
RUN \
|
||||
ln -sf /usr/lib/os-release /etc/os-release && \
|
||||
pacman-key --init && \
|
||||
|
|
Loading…
Reference in New Issue