1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-09-01 23:35:06 +00:00

git user must be enabled

This commit is contained in:
Girish Ramakrishnan
2025-03-05 14:13:26 +01:00
parent d259e03bee
commit 574bb07847
2 changed files with 29 additions and 76 deletions

View File

@@ -8,12 +8,8 @@ RUN pip3 install jupyter
ADD supervisor/ /etc/supervisor/conf.d/
RUN adduser --disabled-login --gecos 'Gitea' git
# by default, git account is created as inactive which prevents login via openssh
# https://github.com/gitlabhq/gitlabhq/issues/5304
RUN passwd -d git
RUN mkdir -p /home/git/gitea
RUN useradd --comment "Gogs" --create-home --shell /bin/bash git
RUN passwd -d git # by default, git account is created as inactive which prevents login via openssh. this disables password for account
WORKDIR /home/git
# for autosign feature