symlink rustc
This commit is contained in:
parent
ae4864e7aa
commit
92bf1d3496
|
@ -4,5 +4,6 @@ mkdir -p /var/lib/lxc/piston/rootfs/exec
|
|||
rm -f /var/lib/lxc/piston/rootfs/exec/*
|
||||
cp -f executors/* /var/lib/lxc/piston/rootfs/exec
|
||||
chmod 700 /var/lib/lxc/piston/rootfs/exec/*
|
||||
chown -R root:root /var/lib/lxc/piston/rootfs/exec
|
||||
|
||||
lxc-start -n piston -d
|
||||
|
|
|
@ -25,7 +25,7 @@ systemctl start libvirtd
|
|||
lxc-create -t download -n piston -- --dist ubuntu --release bionic --arch amd64
|
||||
./start
|
||||
|
||||
# open a shell to the containr
|
||||
# open a shell to the container
|
||||
./shell
|
||||
|
||||
# install all necessary piston dependencies
|
||||
|
@ -42,6 +42,7 @@ apt-get -y install git tzdata nano \
|
|||
umake swift
|
||||
ln -s /root/.local/share/umake/swift/swift-lang/usr/bin/swift /usr/bin/swift
|
||||
curl https://sh.rustup.rs -sSf | sh
|
||||
ln -s /root/.cargo/rustc /usr/bin/rustc
|
||||
rm -rf /home/ubuntu
|
||||
chmod 777 /tmp
|
||||
chmod 777 -R /root
|
||||
|
|
|
@ -1 +1 @@
|
|||
print("hello")
|
||||
print("good")
|
||||
|
|
Loading…
Reference in New Issue