We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 063c23e commit bbb107eCopy full SHA for bbb107e
docker/root/usr/bin/entrypoint
@@ -30,6 +30,11 @@ if [ -n "${USER_UID}" ] && [ "${USER_UID}" != "`id -u ${USER}`" ]; then
30
sed -i -e "s/^${USER}:\([^:]*\):[0-9]*:\([0-9]*\)/${USER}:\1:${USER_UID}:\2/" /etc/passwd
31
fi
32
33
+# change password for git user
34
+if [ -z "${PASS}" ]; then
35
+ echo "git:${PASS}" | chpasswd -e
36
+fi
37
+
38
for FOLDER in /data/gitea/conf /data/gitea/log /data/git /data/ssh; do
39
mkdir -p ${FOLDER}
40
done
0 commit comments