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