Skip to content

Commit aefefef

Browse files
Nadiyalguohan
Nadiya
authored andcommitted
Fix git/stg error for linux kernel build (#156)
Signed-off-by: Nadiya.Stetskovych <[email protected]>
1 parent e3b1268 commit aefefef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sonic-slave/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ RUN useradd $user -u $uid -g $guid -d /var/$user -m -s /bin/bash
103103

104104
RUN gpasswd -a $user docker
105105

106+
# Config git for stg
107+
RUN su $user -c "git config --global user.name $user"
108+
RUN su $user -c "git config --global user.email [email protected]"
109+
106110
COPY sonic-jenkins-id_rsa.pub /var/$user/.ssh/authorized_keys2
107111
RUN chown $user /var/$user/.ssh -R
108112
RUN chmod go= /var/$user/.ssh -R

0 commit comments

Comments
 (0)