mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-09 20:57:26 +01:00
Fix musl
Fix musl Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
71d07f3991
commit
4cef3b1d41
@ -5,7 +5,7 @@ ENV CROSS_TRIPLE aarch64-linux-musl
|
|||||||
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
|
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
|
||||||
|
|
||||||
RUN mkdir -p ${XCC_PREFIX}
|
RUN mkdir -p ${XCC_PREFIX}
|
||||||
RUN curl -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
|
RUN curl --max-time 15 --retry 5 -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
|
||||||
RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz
|
RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz
|
||||||
|
|
||||||
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
||||||
|
@ -5,7 +5,7 @@ ENV CROSS_TRIPLE armv6-linux-musleabihf
|
|||||||
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
|
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
|
||||||
|
|
||||||
RUN mkdir -p ${XCC_PREFIX}
|
RUN mkdir -p ${XCC_PREFIX}
|
||||||
RUN curl -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
|
RUN curl --max-time 15 --retry 5 -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
|
||||||
RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz
|
RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz
|
||||||
|
|
||||||
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
||||||
|
@ -5,7 +5,7 @@ ENV CROSS_TRIPLE armv7l-linux-musleabihf
|
|||||||
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
|
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
|
||||||
|
|
||||||
RUN mkdir -p ${XCC_PREFIX}
|
RUN mkdir -p ${XCC_PREFIX}
|
||||||
RUN curl -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
|
RUN curl --max-time 15 --retry 5 -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz
|
||||||
RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz
|
RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz
|
||||||
|
|
||||||
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
||||||
|
Loading…
Reference in New Issue
Block a user