cptactionhank / docker-atlassian-jira-service-desk

Atlassian JIRA Service Desk wrapped in a Docker image
https://cptactionhank.github.io/docker-atlassian-jira-service-desk
MIT License
49 stars 39 forks source link

wrong switch for adduser #13

Open angryfish404 opened 5 years ago

angryfish404 commented 5 years ago

Hi, in line 13 of the Dockerfile the switch -g is used to add the user to group jira. -g stands for GECOS-Field. This only seems to be the case on busybox. (try adduser --help) The switch for group is -G. In my case, the user was added to group nogroup and had no rights to open outgoing ports. I changed the line to "&& adduser -S -u 1000 jira -G jira \" and everything works fine now.