mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
Fix musl
Fix musl Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
e88a3ceab3
commit
9185a2da28
@ -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