Skip to content

Commit

Permalink
Merge pull request #50 from razr/issue-49
Browse files Browse the repository at this point in the history
fix #49, increase buffer size, and use depth 1
  • Loading branch information
razr authored May 7, 2023
2 parents 1e89c62 + d8bd130 commit 6b755d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ RUN if test -z $UNAME_R; then UNAME_R=`curl -s http://ports.ubuntu.com/pool/main
# install linux sources from git
RUN mkdir /home/user/linux_build \
&& cd /home/user/linux_build \
&& time git clone -b master --single-branch https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/${UBUNTU_VERSION} ${KERNEL_DIR} \
&& git config --global https.postBuffer 1048576000 \
&& time git clone -b master --depth 1 --single-branch https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/${UBUNTU_VERSION} ${KERNEL_DIR} \
&& cd ${KERNEL_DIR} \
&& git fetch --tag

Expand Down

0 comments on commit 6b755d1

Please sign in to comment.