TeriyakiGod / steamcmd-docker-arm64

Dockerfile containing a recipe for running steamcmd on arm64
https://hub.docker.com/r/teriyakigod/steamcmd
49 stars 43 forks source link

Step 18/25 Downloading Ubuntu. Ubuntu_22_04.tar.gz: Permission denied #3

Open xShinzx opened 8 months ago

xShinzx commented 8 months ago

Step 18/25 : RUN wget --no-check-certificate -O Ubuntu_22_04.tar.gz https://www.dropbox.com/scl/fi/16mhn3jrwvzapdw50gt20/Ubuntu_22_04.tar.gz?rlkey=4m256iahwtcijkpzcv8abn7nf ---> Running in f511fcc6ca90 Ubuntu_22_04.tar.gz: Permission denied The command '/bin/sh -c wget --no-check-certificate -O Ubuntu_22_04.tar.gz https://www.dropbox.com/scl/fi/16mhn3jrwvzapdw50gt20/Ubuntu_22_04.tar.gz?rlkey=4m256iahwtcijkpzcv8abn7nf' returned a non-zero code: 1

I'm stuck on this step. I've tried for several hours many solutions with no luck. I gave the folder all permissons, I ran the command with sudo, I tried different ways of downloading the file then using other commands like COPY in the Dockefile to make it work which I succeeded in passing that step, but the 19th step couldn't find the file no matter where I move it or changing the script to find it giving me this error: Step 19/25 : RUN tar xzf Ubuntu_22_04.tar.gz ---> Running in 00d1230cf767 tar (child): Ubuntu_22_04.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now

I've tried sudo inside the script, but it asked for password so I configured an ask pass helper just to bypass that, but I failed miserably. Anyways, I really tried MANY solutions for several hours I just gave up. That's why I came here to ask for help as a last resort.

I'm using Debian 12, aarch64.

justincm commented 6 months ago

Same issue here.

I ran a simple http server with the file (renamed on the server for troubleshooting)

Step 17/25 : WORKDIR /home/steam/.fex-emu/RootFS/ ---> Using cache ---> 4b924e80770e Step 18/25 : RUN wget -O Ubuntu_22_04.tar.gz http://140.238.99.135:8000/ubuntu_22_04.tar.gz ---> Running in 1595a7919542 Ubuntu_22_04.tar.gz: Permission denied The command '/bin/sh -c wget -O Ubuntu_22_04.tar.gz http://140.238.99.135:8000/ubuntu_22_04.tar.gz' returned a non-zero code: 1