Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 476059e

Browse files
committed
Fixed archlinux-clang build
1 parent e8b912c commit 476059e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tools/archlinux-clang/Dockerfile

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM base/archlinux
1+
FROM archlinux/base
22
MAINTAINER Edoardo Morassutto <[email protected]>
33

44
RUN mkdir -p /build
@@ -10,9 +10,7 @@ ENV UGID='2000' UGNAME='travis'
1010
# setup the system
1111
RUN groupadd --gid "$UGID" "$UGNAME" && \
1212
useradd --create-home --uid "$UGID" --gid "$UGID" "${UGNAME}" && \
13-
echo 'Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist && \
14-
echo 'Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist && \
15-
echo 'Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist && \
13+
curl "https://www.archlinux.org/mirrorlist/?country=all&protocol=https&ip_version=4&ip_version=6&use_mirror_status=on" | sed 's/^#//g' > /etc/pacman.d/mirrorlist && \
1614
pacman -Syu --needed --noconfirm base-devel git sudo yajl && \
1715
pacman -Scc --noconfirm && \
1816
echo "travis ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/$UGNAME

0 commit comments

Comments
 (0)