Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Dockerfile fails to build -- user permission problem #17

Open
j4s0n opened this issue Jun 9, 2020 · 1 comment
Open

Dockerfile fails to build -- user permission problem #17

j4s0n opened this issue Jun 9, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@j4s0n
Copy link
Contributor

j4s0n commented Jun 9, 2020

The Dockerfile attempts to add the linuxgsm user twice. It also attempts to switch to the newly-created linuxgsm user without changing the CWD from / and download the linuxgsm.sh script, which fails due to lack of write privileges.

See the following output from an attempt to run docker build .

Step 8/17 : USER linuxgsm
 ---> Running in 48c2517e43af
Removing intermediate container 48c2517e43af
 ---> f2db13db51a8
Step 9/17 : RUN wget https://linuxgsm.com/dl/linuxgsm.sh
 ---> Running in 10d242ef3015
--2020-06-09 00:19:57--  https://linuxgsm.com/dl/linuxgsm.sh
Resolving linuxgsm.com (linuxgsm.com)... 104.28.8.207, 104.28.9.207, 172.67.171.119, ...
Connecting to linuxgsm.com (linuxgsm.com)|104.28.8.207|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/linuxgsm.sh [following]
--2020-06-09 00:20:37--  https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/linuxgsm.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.128.133, 151.101.192.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.128.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14063 (14K) [text/plain]
linuxgsm.sh: Permission denied

Cannot write to ‘linuxgsm.sh’ (Success).
The command '/bin/sh -c wget https://linuxgsm.com/dl/linuxgsm.sh' returned a non-zero code: 3
@issue-label-bot issue-label-bot bot added the bug Something isn't working label Jun 9, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.98. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant