git
This commit is contained in:
parent
5eb133e5b5
commit
9a666b5797
2 changed files with 1 additions and 2 deletions
docker/git
|
@ -3,5 +3,4 @@ FROM gitea/gitea:1.20.4
|
|||
LABEL maintainer="Websoft9<help@websoft9.com>"
|
||||
LABEL version="1.20.4"
|
||||
COPY ./src/s6/user /etc/s6/user
|
||||
|
||||
RUN chmod -R 755 /etc/s6/user
|
|
@ -33,5 +33,5 @@ fi
|
|||
password=$(grep -o "generated random password is '[^']*" /tmp/credential | sed "s/generated random password is '//")
|
||||
|
||||
echo "Save to credential"
|
||||
json="{\"username\":\"$username\",\"password\":\"$password\"}"
|
||||
json="{\"username\":\"$admin_username\",\"password\":\"$password\",\"email\":\"$admin_email\"}"
|
||||
echo "$json" > "$cred_path"
|
Loading…
Add table
Reference in a new issue