Skip to content

Commit

Permalink
Fix git/stg error for linux kernel build (#156)
Browse files Browse the repository at this point in the history
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
  • Loading branch information
Nadiya authored and lguohan committed Dec 23, 2016
1 parent e3b1268 commit aefefef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sonic-slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ RUN useradd $user -u $uid -g $guid -d /var/$user -m -s /bin/bash

RUN gpasswd -a $user docker

# Config git for stg
RUN su $user -c "git config --global user.name $user"
RUN su $user -c "git config --global user.email $user@company.com"

COPY sonic-jenkins-id_rsa.pub /var/$user/.ssh/authorized_keys2
RUN chown $user /var/$user/.ssh -R
RUN chmod go= /var/$user/.ssh -R
Expand Down

0 comments on commit aefefef

Please sign in to comment.