35:先install好,再进arm64的容器进行build(容器以root用户运行)

build-arm64
王良 2 weeks ago
parent e525da9ae4
commit f23a8675d8

@ -94,12 +94,12 @@ jobs:
--platform linux/arm64 arm64v8/ubuntu:20.04 \ --platform linux/arm64 arm64v8/ubuntu:20.04 \
bash -exc 'whoami && \ bash -exc 'whoami && \
ls -lah && \ ls -lah && \
sudo mv /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/ && \ ./ mv /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/ && \
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld && \ ./ apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld && \
sudo systemctl restart apparmor && \ ./ systemctl restart apparmor && \
./ setenforce 0 && \
./ sed -i "s/^SELINUX=enforcing/SELINUX=permissive/" /etc/selinux/config && \
cd /workspace/packages/gui && \ cd /workspace/packages/gui && \
sudo setenforce 0 && \
sudo sed -i "s/^SELINUX=enforcing/SELINUX=permissive/" /etc/selinux/config && \
ls -lah && \ ls -lah && \
apt-get update && \ apt-get update && \
apt-get install curl -y && \ apt-get install curl -y && \

Loading…
Cancel
Save