Fix: trust cert beforehand
All checks were successful
Release / release-image (push) Successful in 3m28s
All checks were successful
Release / release-image (push) Successful in 3m28s
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
FROM archlinux:base-devel
|
FROM archlinux:base-devel
|
||||||
|
|
||||||
|
ADD rootca.pem /root
|
||||||
|
RUN trust anchor /root/rootca.pem && update-ca-trust
|
||||||
|
|
||||||
RUN cat > /etc/pacman.d/mirrorlist <<'EOF'
|
RUN cat > /etc/pacman.d/mirrorlist <<'EOF'
|
||||||
Server = https://archlinux.cs.nycu.edu.tw/$repo/os/$arch
|
Server = https://archlinux.cs.nycu.edu.tw/$repo/os/$arch
|
||||||
EOF
|
EOF
|
||||||
@@ -13,9 +16,6 @@ EOF
|
|||||||
RUN pacman-key --init && pacman-key --populate
|
RUN pacman-key --init && pacman-key --populate
|
||||||
RUN pacman -Syu --needed --noconfirm nodejs minio-client git
|
RUN pacman -Syu --needed --noconfirm nodejs minio-client git
|
||||||
|
|
||||||
ADD rootca.pem /root
|
|
||||||
RUN trust anchor /root/rootca.pem && update-ca-trust
|
|
||||||
|
|
||||||
RUN echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers
|
RUN echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers
|
||||||
RUN useradd -mG wheel -d /build builder
|
RUN useradd -mG wheel -d /build builder
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user