diff --git a/build/panel/entrypoint b/build/panel/entrypoint index f5c0204..8f09607 100644 --- a/build/panel/entrypoint +++ b/build/panel/entrypoint @@ -22,7 +22,7 @@ fi cd /var/www/html || exit 1 sudo chown -R www-data:pterodactyl storage -sudo chmod -R 775 storage/* bootstrap/cache +sudo chmod -R 777 storage/* bootstrap/cache if [ $# -gt 0 ]; then sudo su -c "/bin/bash" diff --git a/build/wings/Dockerfile b/build/wings/Dockerfile index 5ebace4..86cf00b 100644 --- a/build/wings/Dockerfile +++ b/build/wings/Dockerfile @@ -24,10 +24,10 @@ RUN apt -y update \ docker-ce \ docker-ce-cli \ containerd.io \ - && curl -OL https://go.dev/dl/go1.17.6.linux-amd64.tar.gz \ - && tar xvf go1.17.6.linux-amd64.tar.gz -C /usr/local \ + && curl -OL "https://go.dev/dl/go1.17.6.linux-$(dpkg --print-architecture).tar.gz" \ + && tar xvf "go1.17.6.linux-$(dpkg --print-architecture).tar.gz" -C /usr/local \ && chown -R root:root /usr/local/go \ - && rm -rf go1.17.6.linux-amd64.tar.gz \ + && rm -rf go*.gz \ && /usr/local/go/bin/go get github.com/go-delve/delve/cmd/dlv \ && usermod -aG docker root \ && echo "export PATH=\$PATH:/usr/local/go/bin" >> /etc/bash.bashrc