Skip to content

Commit

Permalink
fix git and curl issue
Browse files Browse the repository at this point in the history
The original code would cause " error: RPC failed; curl 18 transfer closed with outstanding read data remaining " , you should add the code "git config –-global http.postBuffer 524288000" to fix .
  • Loading branch information
bao3 committed Oct 13, 2018
1 parent 8a12c3d commit bec5a51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile.openwrt
Expand Up @@ -17,7 +17,8 @@ RUN curl -o /tmp/${NAME} ${SDK_URL} \

RUN apk add --no-cache perl make git bash gawk gcc g++ ncurses-dev
WORKDIR ${SDK_PATH}
RUN ./scripts/feeds update base packages
RUN git config –-global http.postBuffer 524288000 \
&& ./scripts/feeds update base packages
RUN ./scripts/feeds install libpcap libuv

RUN mkdir ./package/switch-lan-play
Expand Down

0 comments on commit bec5a51

Please sign in to comment.