mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
build/bot: fix git error
This commit is contained in:
parent
71d3198eb6
commit
1daea03078
1 changed files with 7 additions and 0 deletions
|
|
@ -1,9 +1,16 @@
|
|||
FROM ubuntu
|
||||
|
||||
# Install build tools.
|
||||
RUN apt-get update
|
||||
RUN apt-get -yq --no-install-suggests --no-install-recommends install devscripts debhelper dput fakeroot golang git
|
||||
|
||||
# Add the ssh key of launchpad.net.
|
||||
RUN mkdir -p ~/.ssh && echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts
|
||||
|
||||
# The repo checkout is mounted to /source.
|
||||
WORKDIR /source
|
||||
|
||||
# Prevent git error because the owner of /source does not exist in the Docker container.
|
||||
RUN git config --global --add safe.directory /source
|
||||
|
||||
ENTRYPOINT build/bot/ppa-build.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue